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.
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.
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!
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
General CURB?
Recently promoted from Colonel.
Bwahhahahhahh...