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: 

Label 3D length of a line

7 REPLIES 7
Reply
Message 1 of 8
terryl
2014 Views, 7 Replies

Label 3D length of a line

I did a search and did not find anything, anyone know how to label the 3D length of a line.

 

Thanks

Terry

 

Civil 3D 2021
Dell 5510
Win 10 Pro X64
Intel Xeon 3.2 GHz
32 GB ram
NVIDIA Quadro 4000
7 REPLIES 7
Message 2 of 8
Jeff_M
in reply to: terryl

Use an expression in the label style:

 

SQRT({General Segment Length}^2  + ({General Segment Start Z}-{General Segment End Z})^2)

 

4-29-2013 11-17-51 AM.png

Jeff_M, also a frequent Swamper
EESignature
Message 3 of 8
ToddRogers-WPM
in reply to: terryl

Jeff's solution is by far the easiest and fastest way in doing this.  I have attached a video on a different method in getting 3D length.  This is how we all learn from each other, right? Smiley Happy  Here's the link...

 

https://www.dropbox.com/s/zjrkyfwkz8ch83h/3D%20Length%20Annotation.wmv



Todd Rogers
BIM Manager
Blog | Twitter | LinkedIn

Message 4 of 8
Grimes_MG
in reply to: ToddRogers-WPM

Ah equations. Who'd have thought one would ever need math as a draftsman? Funny how it seems that Autodesk is really testing our STEM curriculum these days....

Win7 (x64), EVGA 790i, 8GB RAM, EVGA 8800GT, 250 GB iSSHDD, & RAID 0/1
Message 5 of 8
troma
in reply to: Jeff_M

Pythagoras! What would we do without him?

I guess this works for a LINE, or for each segment of a 3D polyline or feature line. But what about the 3D total length of a 3D polyline or feature line?

Mark Green

Working on Civil 3D in Canada

Message 6 of 8
jmayo-EE
in reply to: troma

Until they let us grap the overall starting z and ooverall ending z it ain't gonna happen OOTB. This has been one of my wishlist items.

John Mayo

EESignature

Message 7 of 8

Todd can you please reload this video.i think  the link is broken.

- Umit Arslan -
Survey Engineer
Civil 3D 2018 x64
Windows 8.1 Pro 64-bit
32GB RAM
Message 8 of 8
rendarin
in reply to: troma

Hi guys,

 

An alternative is to use the Field code in MTEXT. Enter the MTEXT editor and click on Field, in the dialogue box select Objects in Field Category, select Objects in the list of Field names, use the pick box to select the 3D poly, then select Length in Property. Okay. It should insert the length of the 3D poly, HOWEVER it does not update automatically. You have to regen for the length to update if you change the polyline.

 

I haven't test this with feature lines yet though

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

Post to forums  

Rail Community


Autodesk Design & Make Report