Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Contour label truncating?

6 REPLIES 6
Reply
Message 1 of 7
Stuart_Telford
1566 Views, 6 Replies

Contour label truncating?

Hey just a quick question...how does one go about truncating surface contour elevation labels so they only show up to the tens place on the left side of the decimal (i.e. 50.25 instead of 5150.25)? 

 

Note:  I tried changing the rounding option under the style edit to "truncate" but that did not appear to change anything...?

 

Thanks

Stuart Telford
Civil 3D 2014 SP1 | Win 7 64-bit SP1
Intel Core i5-2500 @ 3.30GHz, 8GB Ram | ATI Radeon HD 5450
6 REPLIES 6
Message 2 of 7
Jeff_M
in reply to: Stuart_Telford

Message 3 of 7

Thanks a bunch! Smiley Happy

Stuart Telford
Civil 3D 2014 SP1 | Win 7 64-bit SP1
Intel Core i5-2500 @ 3.30GHz, 8GB Ram | ATI Radeon HD 5450
Message 4 of 7
dretch
in reply to: Jeff_M

The link is no longer valid, just sends you to autodesk website

Message 5 of 7
Jay_B
in reply to: dretch

This can be done by applying an expression to the label style as covered in This thread.

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
Message 6 of 7
troma
in reply to: dretch

This one should do the trick:
{Surface Elevation}-100*FLOOR({Surface Elevation}/100)

Mark Green

Working on Civil 3D in Canada

Message 7 of 7
mathewkol
in reply to: Stuart_Telford

http://www.civil4d.com/2008/01/truncs-arent-just-for-elephants/
Matt Kolberg
SolidCAD Professional Services
http://www.solidcad.ca /

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report