Your drawings are full of stuff and you are running out of space? Definitely displaying only the last two digits of spot elevations will help you make your drawings look way better.
So let’s jump right in it.
Create an Expression
We will have to create an Expression that will help us display only Last Two digits of the Spot Elevation Labels. Follow the steps below:
- Open the Toolspace panel on the Home Ribbon Tab.
- Select the Settings menu on the right side
- Right click on Expressions which are located in Surface > Label Styles > Spot Elevations > Expressions and hit New.
- Give that expression a name, for example, “Last two digits” and in Expression field paste this text: {Surface Elevation}-100*TRUNC({Surface Elevation}/100) and hit OK
We just did the Expression for removing the first digits and leaving only the last two ones. Now we can place that expression in out Spot Elevation Labels and move forward. However, there is one small problem, if a truncated value is below 10 we will end up with only one digit in front of the decimal sign. James Musselman@ from http://blogs.rand.com/civil/ came up with a great solution. Create an expression for text high that will return 0 if the truncated value is below 10 and return nothing if it is above. So let’s create the second expression
- Right click on Expressions and hit New again.
- Give the second expression a name, for example, “Zero” and paste this in the Expression Fied: IF({Last Two Digits}<10,0.1/12,0) and hit OK.
Create Spot Elevation Label
After creating the two Expressions, we are ready to create the Spot Elevation Label that uses those. The steps are as follows:
- Go to Layout Tab in Label Style Composer (one way to open it is to Right click on your label and hit Edit Label Style) and create new Text component.
- For Anchor component choose <feature> For Contents place “0” and for Text Hight choose our “Zero” Expression.
- Create another Text component and for Anchor component choose the first Text in our case “zero” and for contents choose the Last two digits Expression.
- Hit OK. And you are ready!
Hope you like our Civil 3D Tip, you can check our other Civil 3D Related topics here and don’t forget to subscribe for more great tips like this one!