Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to calculate the total length of multiple lines

73 REPLIES 73
SOLVED
Reply
Message 1 of 74
veloster
706671 Views, 73 Replies

How to calculate the total length of multiple lines

Hi!
I would like to know if it's possible to have the total length of different lines by selecting them in a drawing?
Those lines are all separated and it will take forever to do it manually on a calculator 🙂
Thx!

Tags (1)
73 REPLIES 73
Message 2 of 74
nestly2
in reply to: veloster

Welcome to the Autodesk forums.

 

AutoCAD doesn't have anything like that built in, but it's easily done with TLEN.lsp (Total LENgth of selected objects)

http://www.turvill.com/t2/free_stuff/tlen.lsp

 

If you're not familiar with how to use lisp, simply copy/paste (CTRL+V) ALL the text and characters in the above link into your command line and press Enter, then type TLEN into the command line and follow the command prompt (select the objects)  Note using this method, the lisp is only loaded for the current session, if you want it to be a permanent feature, Add it to the Startup Suite or the acaddoc.lsp file.

 

Message 3 of 74
veloster
in reply to: nestly2

Thanks! Works perfectly!
Message 4 of 74
Kent1Cooper
in reply to: veloster

There are several additional routines that will do that here.

Kent Cooper, AIA
Message 5 of 74
braudpat
in reply to: veloster

 

Hello from France

 

Welcome to the Autodesk/AutoCAD Forums !

 

I am using since a long time ago this nice French routine : TLENGTH

which is running on : LINE , POLYLINE , LWPOLYLINE , ARC , CIRCLE , ELLIPSE , SPLINE , MLINE , REGION , MPOLYGON

You can remove easily some entities from the filter inside the routine ... 

 

Thks to Patrick_35 for this beautiful routine ...

 

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


Message 6 of 74
ajahmadi
in reply to: nestly2

working better than what I expected.

Thanks

Message 7 of 74
Anonymous
in reply to: veloster

There's "MeteorSpec" plug-in that calculates the summarized lengths of polylines.  Look at Autodesk Exchange apps. 

https://apps.exchange.autodesk.com/ACD/en/Detail/Index?id=appstore.exchange.autodesk.com:meteorspect...

 

Message 8 of 74
Anonymous
in reply to: braudpat

thats perfect
Message 9 of 74
Anonymous
in reply to: nestly2

How do you Add it to the Startup Suite or the acaddoc.lsp file?

Message 10 of 74
Patchy
in reply to: Anonymous

Appload command, and look for the suitcase icon, add it in there.

Message 11 of 74
Anonymous
in reply to: Patchy

Thanks for the help. Worked great.
Message 12 of 74
hamzasirri
in reply to: veloster

lisp to calculate the total length of objects such as lines, polyline, arc length calculator

you can try this also

 

AUTHOR:
Copyright © Lee McDonnell, June 2009. All Rights Reserved.

http://lee-mac.com/

Message 13 of 74
Anonymous
in reply to: braudpat

when i select the lines and press enter nothing happens.help..

Message 14 of 74
Anonymous
in reply to: Anonymous

the command is not working for me.when select the lines and press enter nothing happens.any idea why?my cad is not the full version.not activated.mayb thas y?

Message 15 of 74
Kent1Cooper
in reply to: Anonymous


@Anonymous wrote:

....my cad is not the full version....mayb thas y?


If by that you mean you are using AutoCAD LT, that would be the reason.  It does not have AutoLisp capability.

Kent Cooper, AIA
Message 16 of 74
yosephk
in reply to: veloster

Click Analyze tab,Inquiry panel,Add Distances.

Windows 10 Pro x 64
16 GB Ram
Intel Xeon E3-1220 V2 @ 3.1 GHz
NVIDIA Quadro 600
Civil 3D 2019
Message 17 of 74
nonofthem
in reply to: nestly2

thank, it works very nice..............

Message 18 of 74
andrew.challans
in reply to: veloster

Well done it woks very well. Cheers

Message 19 of 74
Anonymous
in reply to: veloster

Thank you. Just what I needed.

Message 20 of 74
Anonymous
in reply to: veloster

Very nice thank you so much..

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

Post to forums  

Autodesk Design & Make Report

”Boost