v14 cad string attribute leaders

Any questions regarding the practice version are asked and answered here.
Post Reply
Adam john Bridges
Posts: 4
Joined: Thu Jun 11, 2020 9:19 am

v14 cad string attribute leaders

Post by Adam john Bridges »

Hi Guys

I am creating attribute leaders based from string attributes

I currently get this as the format to output

<[Owner]> <[Configuration]> <[Size]>mm <[Material]>

i need to find out how to place each attribute on a separate line if possible

<[Owner]>
<[Configuration]> <[Size]>mm
<[Material]>

is there a new line code?
Matthew Monk
Posts: 3175
Joined: Fri Oct 21, 2005 2:46 pm

Re: v14 cad string attribute leaders

Post by Matthew Monk »

\n

(guess only)
Phil Davies
Posts: 876
Joined: Mon Jun 27, 2016 2:14 pm

Re: v14 cad string attribute leaders

Post by Phil Davies »

Command "drafting Leader_Vertex_Attributes -style \"Label ATTS\" -text_format \"Owner: <[Owner]>\n[Configuration]>\n<[Size]>mm\""
Phil Davies
Spatial Data Manager
GMC Surveying
Phil.Davies@GMCSurveying.com
Adam john Bridges
Posts: 4
Joined: Thu Jun 11, 2020 9:19 am

Re: v14 cad string attribute leaders

Post by Adam john Bridges »

does not seem to be working with the
<[Owner]>\n[Configuration]>\n<[Size]>mm

any other ideas
Phil Davies
Posts: 876
Joined: Mon Jun 27, 2016 2:14 pm

Re: v14 cad string attribute leaders

Post by Phil Davies »

try \\n from memory it might even be 3\\\
Phil Davies
Spatial Data Manager
GMC Surveying
Phil.Davies@GMCSurveying.com
Adam john Bridges
Posts: 4
Joined: Thu Jun 11, 2020 9:19 am

Re: v14 cad string attribute leaders

Post by Adam john Bridges »

got it

\\\n
is the new line code\

thanks
Adam john Bridges
Posts: 4
Joined: Thu Jun 11, 2020 9:19 am

Re: v14 cad string attribute leaders

Post by Adam john Bridges »

another question along the same line is how do you edit the text created in using the cad --> leader--> way

created text is way too large

thanks in advance
Phil Davies
Posts: 876
Joined: Mon Jun 27, 2016 2:14 pm

Re: v14 cad string attribute leaders

Post by Phil Davies »

Hi Adam,

In this example

Command "drafting Leader_Vertex_Attributes -style \"Label ATTS\" -text_format \"Owner: <[Owner]>\n[Configuration]>\n<[Size]>mm\""

-style \"Label ATTS\" sets the label style that you are going to use. You can set your styles up under Cad|Leader|Utilities|Styles

Alternatively, if you just want to change something about the tyle for a single plot, you can use Cad|Leader|Utilities|Styles Overrides to change some things about an existing leader
Phil Davies
Spatial Data Manager
GMC Surveying
Phil.Davies@GMCSurveying.com
Post Reply