×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

multiple line lengths

multiple line lengths

multiple line lengths

(OP)
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

RE: multiple line lengths

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

RE: multiple line lengths

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 www.cadalog.com to start. Try a google or other search with a few kewords like lisp, freeware, sum, etc...bound to find a few.

RE: multiple line lengths

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources