AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

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

Line Bearing Label Expressions

739 Views, 16 Replies
11-15-2012 02:07 PM

I am trying to get my bearing label short name spaced to read with a "." after the N & E. Example: N. 00 00 00 E. Does anyone have a clue how to achieve this?

 

Thank you,

 

Rich

*Expert Elite*
troma
Posts: 2,525
Registered: ‎05-21-2008
Message 2 of 17 (710 Views)

Re: Line Bearing Label Expressions

11-16-2012 05:58 AM in reply to: richkerlin6830

I would have expected something like that to be in the Abbreviations tab under Drawing Settings, yet a quick look there didn't reveal it.  Sorry.


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

*Expert Elite*
AllenJessup
Posts: 6,176
Registered: ‎05-21-2003
Message 3 of 17 (701 Views)

Re: Line Bearing Label Expressions

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

I haven't done this but what I think you'd have to do is to develop expressions that would separate the bearing in to it's first quadrant component, it's angle component and it's second quadrant component. They you'd have to edit the Label Style component contents to read something like:

 

<[First Quadrant component]>. <[Angle]> <[Second Quadrant component]>.

 

It looks like this would take some work to get it right.

 

Allen

 

 

*Expert Elite*
troma
Posts: 2,525
Registered: ‎05-21-2008
Message 4 of 17 (697 Views)

Re: Line Bearing Label Expressions

11-16-2012 06:54 AM in reply to: AllenJessup

So Allen there is seriously no way to edit the abbreviations for North, South, East & West?  I thought all this stuff was accessable.  What if I wanted them to say A, B, C, D, or 1, 2, 3, 4?  Or Q, X, Z, P?  (Because I'm crazy and/or work for some foreign spy agency) I should be able to, right?


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

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

Re: Line Bearing Label Expressions

11-16-2012 07:14 AM in reply to: troma

If you WERE crazy enough, then you'd probably be crazy enough to figure out how to do it with expressions. I've seen similar things done but I can't find an example at the moment.

 

Allen

*Expert Elite*
BrianHailey
Posts: 2,858
Registered: ‎04-27-2005
Message 6 of 17 (688 Views)

Re: Line Bearing Label Expressions

11-16-2012 07:16 AM in reply to: richkerlin6830

You mean something like this?

 

http://screencast.com/t/jtgJXupOq

 

A bit much to explain here. This weekend I'll try to write up a blog post on how to achieve this. Basically, just add a text component that is a period and locate it correctly.

Brian Hailey
CAD-1.com
My Blog
*Expert Elite*
AllenJessup
Posts: 6,176
Registered: ‎05-21-2003
Message 7 of 17 (686 Views)

Re: Line Bearing Label Expressions

11-16-2012 07:21 AM in reply to: BrianHailey

Very interesting. I'm looking forward to reading about it. I'm thinking that the "locating it correctly" is the key.

 

Allen

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

Re: Line Bearing Label Expressions

11-16-2012 07:28 AM in reply to: richkerlin6830

Thanks Brian. That is exactly what I'm looking for. Look forward to reading your blog.

 

Rich

*Expert Elite*
AllenJessup
Posts: 6,176
Registered: ‎05-21-2003
Message 9 of 17 (676 Views)

Re: Line Bearing Label Expressions

11-16-2012 07:41 AM in reply to: richkerlin6830

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

*Expert Elite*
troma
Posts: 2,525
Registered: ‎05-21-2008
Message 10 of 17 (675 Views)

Re: Line Bearing Label Expressions

11-16-2012 07:44 AM in reply to: BrianHailey

You can do everything with expressions, apart from set the text height for a reference text component, apparantly.

 

http://forums.autodesk.com/t5/AutoCAD-Civil-3D/Alignment-Label-with-Reference-Text-amp-Expressions/m...  )

 

I still think you should be able to simply change the required abbreviation in the abbreviations tab.  Can anyone think of a good reason for not having it in there?


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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.