AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
*Expert Elite*
troma
Posts: 2,520
Registered: ‎05-21-2008
Message 11 of 17 (181 Views)

Re: Line Bearing Label Expressions

11-16-2012 07:49 AM in reply to: AllenJessup

If a space is the same width as a letter (may depend on the font you're using) then it should be simple.

Text component: " ."  that is a space, then dot.

Anchor bottom left of this component to the bottom left of the main label component.

Then add another dot, and play with the number of spaces between them.

 

But if N and S are different widths you're in trouble.  W is a difficult letter, generally wider than others, so you may be better off with a second dot componant anchored to the bottom right of the main label, rather than having both dots in one component.


Credit where credit is due! Give kudos or accept as solution whenever you can.

Contributor
richkerlin6830
Posts: 12
Registered: ‎08-04-2010
Message 12 of 17 (179 Views)

Re: Line Bearing Label Expressions

11-16-2012 08:11 AM in reply to: AllenJessup

Allen

 

I tried what you suggested and it works great when you line is drawn left to right but when you rotate the line right to left the period does not move with the first letter

*Expert Elite*
AllenJessup
Posts: 5,872
Registered: ‎05-21-2003
Message 13 of 17 (177 Views)

Re: Line Bearing Label Expressions

11-16-2012 08:13 AM in reply to: richkerlin6830

Oh well. We'll have to wait for Brian then.

 

Allen

*Expert Elite*
BrianHailey
Posts: 2,792
Registered: ‎04-27-2005
Message 14 of 17 (166 Views)

Re: Line Bearing Label Expressions

11-16-2012 09:04 AM in reply to: AllenJessup

AllenJessup wrote:

Brian gave me a clue. I created a text component having just a period in it, anchored it to the Bearing and messed around with the offsets until it fell in the right place. I suppose to get the second one you could create another text component or figure out how many spaces to put between the two periods.

 

Brian may have an even better way.

 

dot.PNG

 

Allen


Basically the same, I just created a letter that I attached middle left to middle left and then attached the period middle right to middle left. Then set the visibility of the letter to false.

 

As for the period at the end, just add it to the bearing label. http://screencast.com/t/rq4E6RjLznbF 

Brian Hailey
CAD-1.com
My Blog
*Expert Elite*
BrianHailey
Posts: 2,792
Registered: ‎04-27-2005
Message 15 of 17 (163 Views)

Re: Line Bearing Label Expressions

11-16-2012 09:06 AM in reply to: richkerlin6830

On the general tab, set the "Flip Anchors with Text" option to True.

 

http://screencast.com/t/mgu7aLJUh0 

Brian Hailey
CAD-1.com
My Blog
*Expert Elite*
AllenJessup
Posts: 5,872
Registered: ‎05-21-2003
Message 16 of 17 (154 Views)

Re: Line Bearing Label Expressions

11-16-2012 10:03 AM in reply to: BrianHailey

Can't get text to appear

 

Oh! NOW it works:smileyfrustrated:

*Expert Elite*
AllenJessup
Posts: 5,872
Registered: ‎05-21-2003
Message 17 of 17 (150 Views)

Re: Line Bearing Label Expressions

11-16-2012 10:06 AM in reply to: BrianHailey

BrianHailey wrote:

As for the period at the end, just add it to the bearing label.


Duh!!! That's what happens when trying to do styles while plotting a 66 acre deed. Only a 52' missclosure. So all is well.

 

I feel honored. For some reason IT isn't blocking access to screencast.com today

 

Allen

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.