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?
v14 cad string attribute leaders
-
- Posts: 3175
- Joined: Fri Oct 21, 2005 2:46 pm
Re: v14 cad string attribute leaders
\n
(guess only)
(guess only)
-
- Posts: 922
- Joined: Mon Jun 27, 2016 2:14 pm
Re: v14 cad string attribute leaders
Command "drafting Leader_Vertex_Attributes -style \"Label ATTS\" -text_format \"Owner: <[Owner]>\n[Configuration]>\n<[Size]>mm\""
-
- Posts: 4
- Joined: Thu Jun 11, 2020 9:19 am
Re: v14 cad string attribute leaders
does not seem to be working with the
<[Owner]>\n[Configuration]>\n<[Size]>mm
any other ideas
<[Owner]>\n[Configuration]>\n<[Size]>mm
any other ideas
-
- Posts: 922
- Joined: Mon Jun 27, 2016 2:14 pm
Re: v14 cad string attribute leaders
try \\n from memory it might even be 3\\\
-
- Posts: 4
- Joined: Thu Jun 11, 2020 9:19 am
Re: v14 cad string attribute leaders
got it
\\\n
is the new line code\
thanks
\\\n
is the new line code\
thanks
-
- Posts: 4
- Joined: Thu Jun 11, 2020 9:19 am
Re: v14 cad string attribute leaders
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
created text is way too large
thanks in advance
-
- Posts: 922
- Joined: Mon Jun 27, 2016 2:14 pm
Re: v14 cad string attribute leaders
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
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