Share:
Notifications
Clear all

Civil 3D Alignment Curve Label

BlitzkriegBob
(@blitzkriegbob)
200+ posts Member

I've been spending a little time lately trying to fine tune our C3D styles and labels.  I have one I can't quite figure out.  I'm trying to (mostly) match what INDOT shows on their CAD Standards Style Sheet.  Attached are my current label and the INDOT label.

What I can't get is the Left or Right for the curve direction as part of the Delta.  I think I can get it through an expression, but I've tried a few different things with no luck so far.  Any advice?

I'm not worried about the ft label instead of a tick mark.  That just feels wrong to me.

Quote
Topic starter Posted : May 14, 2019 5:04 am
Randy Rain
(@randy-rain)
200+ posts Member

CREATE 2 EXPRESSIONS ONE FOR LEFT AND ONE FOR RIGHT

RIGHT:

IF({General Segment Total Angle}>0,.06,.0001)

LEFT:

IF({General Segment Total Angle}<0,.06,.0001)

THEN CREATE TWO SEPARATE RIGHT AND LEFT LABEL COMPONENTS THAT GET THEIR TEXT HEIGHT FROM THESE EXPRESSIONS AND ANCHOR IT TO THE MIDDLE RIGHT OF THE DELTA COMPONENT AND ATTACH TO MIDDLE LEFT OF THE NEW RIGHT/LEFT LABEL COMPONENT. IN ESSENCE YOU ARE PRINTING BOTH LT AND RT ALWAYS IT'S JUST THAT THE NON-APPLICABLE INFO IS REALLY TINY.

 

TEST THIS I MAY HAVE THE SIGN BACKWARD AND IT MAY BE AFFECTED BY ACAD UNITS SETTING (ANGLE CLOCKWISE/COUNTERCLOCKWISE), NOT SURE.

This post was modified 3 years ago 2 times by Randy Rain
ReplyQuote
Posted : May 14, 2019 5:59 am
BlitzkriegBob
(@blitzkriegbob)
200+ posts Member

Thanks Randy.  You've given me food for thought.  I'm guessing you are doing this through a General Curve Label.  I'm using an Alignment Label.  I say that because the General Segment Total Angle property is not an option for me.  I think I can get the same thing by using either the PI Included Angle property or the Delta Angle property.  I tried the PI Included Angle yesterday but kept getting everything labeled as Left.  I may have a sign backward myself.  Also, I currently have just one component with all the data rather than individual components.  I would need to break it up in order to get it to line up with the Delta the way you suggest.

I didn't get to spend much time with this yesterday.  Hopefully I get more time in the next day or two.  I will either look at breaking up the component or perhaps just try it through using a general label.  Thanks again for the great tip!

ReplyQuote
Topic starter Posted : May 15, 2019 4:53 am

Randy Rain
(@randy-rain)
200+ posts Member

I know what you mean about 1 single label component, most of my labels are built that way, but this technique requires it to be the other way. And yes I was using general curb label for the example but it should work with alignment labels as well. this is the only way to work with text in expressions until the powers that be at AutoDesk decide to give us rudimentary string handling capability in the expression builder. Doesn't seem like it would be that hard to me, I was coding string manipulation in BASIC the late 70's, so it's not like they have to reinvent the wheel.

 

RRain

ReplyQuote
Posted : May 15, 2019 5:20 am
Randy Rain
(@randy-rain)
200+ posts Member

General CURB?

ReplyQuote
Posted : May 15, 2019 7:44 am
Tim V. PLS
(@tim-v-pls)
200+ posts Member

Recently promoted from Colonel.

 

 

Bwahhahahhahh...

ReplyQuote
Posted : May 15, 2019 12:35 pm

Share: