Community Forums

Share:

Civil 3D Alignment Curve Label  


BlitzkriegBob
Posts: 226
Member
(@blitzkriegbob)
100+ posts
Joined: 5 years ago

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.

Alignment Curve Data

INDOT Style

5 Replies
Randy Rain
Posts: 464
Member
(@randy-rain)
250+ posts
Joined: 9 years ago

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.

Reply
BlitzkriegBob
Posts: 226
Member
(@blitzkriegbob)
100+ posts
Joined: 5 years ago

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!

Reply
3 Replies
Randy Rain
Member
(@randy-rain)
Joined: 9 years ago

250+ posts
Posts: 464

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

Reply
Randy Rain
Member
(@randy-rain)
Joined: 9 years ago

250+ posts
Posts: 464

General CURB?

Reply
Tim V. PLS
Member
(@tim-v-pls)
Joined: 9 years ago

50+ posts
Posts: 75

Recently promoted from Colonel.

 

 

Bwahhahahhahh...

Reply
Default
:)
:d
:wink:
:mrgreen:
:neutral:
:twisted:
:arrow:
:shock:
:???:
:cool:
:evil:
:oops:
:razz:
:roll:
:cry:
:eek:
:lol:
:mad:
:sad:
:!:
:?:
:idea:
:hmm:
:beg:
:whew:
:chuckle:
:silly:
:envy:
:shutmouth: