Civil 3D: Alignment Labels that Flip Out, Part Deux

Building on the idea from a previous post (Civil 3D Alignment Labels that Flip Out, in a Good Way), the goal is a singular Alignment label with 2 components that automatically flips outwards.

THE ISSUE:  
The example label below has 2 text components:  Station over Offset and Alignment Name (single letter "Y" in example) with border.  To have the name appear on the outside the components must be configured to reference the left side (red) and right side (blue) shown below:

THE SOLUTION:  
First, an expression was built to help identify left vs right sides.  Depending on the desired text orientation (horizontal or vertical), the values will vary.  Below the expression created is named “Flip” with the Expression set to “DEG2RAD(IF(Offset<0,90,-90))”
 
Then, create a label style set like below:
•    Layout tab > Station Offset component > Text area > Rotation Angle > use “Flip
•    General tab >
o    Plan Readable: True
o    Flip Anchors with Text: False

When the label is configured correctly, the result will be the automatic flipping of the Alignment name when located to left or right of the Alignment (shown as green below).
 
I hope you found this use of expressions useful.  If you would like to download the example drawing file, visit:  https://autode.sk/3x6VIxp

About the Author

Leo Lavayen

Civil Applications Expert<br><br>As an Applications Expert, Leo is responsible for supporting, training and implementation of software for survey and civil engineering professionals. He has more than 20 years of experience helping large and small, public and private clients in the eastern United States.

More Content by Leo Lavayen
Previous Article
PC3 Files and Named Page Setups Not Working Correctly
PC3 Files and Named Page Setups Not Working Correctly

On a machine that you did not create these items (PC3 file or page setups), when you select the page setup,...

Next Article
AutoCAD: Block Palette Crashing AutoCAD
AutoCAD: Block Palette Crashing AutoCAD

When attempting to use the Block Palette AutoCAD Crashes and Freezes.

Need tech support? Let us help!

Learn More