Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiple line lengths

Status
Not open for further replies.

ericro1

Geotechnical
Dec 18, 2001
11
I need to add the lengths of lines with the other lines on the same layer. I must admit I don't know any way to do this. I have about 50,000 lines to add so manually is not an option. Can anyone help me on this? Is there possibly a way to export a table with all the property info for all elements in the drawing?

Thanks,
Eric
 
Replies continue below

Recommended for you

Hi ericro1,

First, let me ask a question or two.

Do you want to get a total length of all lines in a drawing?

Are you looking for the total length of all lines on a particular layer?

Are you trying to find a way to label the length of each line in the drawing?

OR, do you want to create a document (like a text file) that lists each line and its' length so that you can add them up individually?

I may be able to write a LISP program to do these depending on what you want. you can e-mail me at:
paul_bilodeau1@excite.com with the answers to these questions.

Paul
 
I've seen this question asked and answered many times at various forums, I know there are lots of freeware lisps you could download. Try to start. Try a google or other search with a few kewords like lisp, freeware, sum, etc...bound to find a few.
 
ericro1,

50,000 lines is a lot of lines in a single layer.
With a lisp routine, finding the total length should
be a piece of cake (45-60 seconds max). E-mail me
(grevark@aol.com) your AutoCAD version and I'll send
you the appropriate routine (total length only).

Estassoc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor