Announcements

Announcement: We’re aware of an issue affecting starting a new topic from category pages and creating new blog posts. New topics can still be started directly from the relevant board. Learn more here.

calculate total lenght in autoCAD LT 2019

calculate total lenght in autoCAD LT 2019

Anonymous
Not applicable
1,780 Views
6 Replies
Message 1 of 7

calculate total lenght in autoCAD LT 2019

Anonymous
Not applicable

hello autoCAD users.

Is there a way to calculate the total lenght of multible Polylines in one command.

** I am using AutoCAD LT 2019 **

0 Likes
1,781 Views
6 Replies
Replies (6)
Message 2 of 7

cadffm
Consultant
Consultant

A1: No

not by a "normal" way

 

 

A2: If you have much knowledge about these things, you can do this - yes

 broadly

- export length data (logfile and command LIST)

- read and calculate the data in an external program

- do whatever you want with that information, display it in a dialog, send it to autocad lt..

The "One command" is your one click on a userdefined button.

 

Sebastian

0 Likes
Message 3 of 7

Anonymous
Not applicable

How can i export the lenght data?

can i have some help?

thanks

 

0 Likes
Message 4 of 7

cadffm
Consultant
Consultant

If you must ask.. the answer to the first post is A1 = No

and if you like to do this by Hand, thats the way:

 

- export length data (logfile and command LIST)


Command: LIST

You can copy the result from your Textscreen [F2] (if not too long plines and not too many plines)

or from your logfile (read about logfile logfilepath logfileon logfileoff)

 

If you search for "AutoCAD LT total length" you will find small solutions and great (3.part) solutions,

but to do it by hand yourself is a good way to learn more about possibility ways

 

 

Sebastian

0 Likes
Message 5 of 7

cadffm
Consultant
Consultant

And if you have the LIST result of your polylines, you can format the result with a texteditor or directly in Excel

and in Excel you can calculate the total length.

 

Here is a video for example what you can do with a good texteditor, CLICKME!

but if you can VBA, .NET or similar, you can write your own programs to do such things,

much more comfortably.

 

The sample display how to geht the MTEXT content of multiple MTEXT objects,

by using command LIST to get the Information and Textpad as texteditor to delete

needless information. I recorded the steps and after this, it is a 2-click job inside the edit to get all single length

Sebastian

Message 6 of 7

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> Here is a video for example what you can do with a good texteditor

Cool!!!!

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 7 of 7

Johneng
Collaborator
Collaborator

See link below. Skip down to messages 14 and 15 from Paul_Gander he posted a couple of nice excel files that add up the total lengths of lines and polylines. I only looked at the one named Total length (v2.0) from message 15 and it seemed to work fine for the three or four lines/polylines I tested. Also messages 16 and 18 had tips from Steven-g and hwalker that might be of use to you.

https://forums.autodesk.com/t5/autocad-lt-forum/how-to-measure-total-length/td-p/6317587