Jump to content

Cumulative length of polylines AutoCAD Lt 2014


craigproudfoot

Recommended Posts

I have a drawing with multiple unconnected polylines. I use the LEN command to get the length of an individual polyline, but how do I get the combined length of all the polylines?

There are too many to simply PEDIT and then join them.

Any help would be appreciated as I have come up with nothing on the web.

Thanks

Link to comment
Share on other sites

Too bad you're using LT.

 

From forum member Raggi_Thor comes this suggestion.

 

You can make a macro in plain LT like this:

 

PE;Y;J;ALL;;;LI;LAST;;

 

or

 

PEDIT;Yes;Join;ALL;;;LIST;LAST;;

Link to comment
Share on other sites

How do I run a macro in plain LT and what will this macro do?

 

Thanks in advance to you both for taking time over this.

 

ReMark - 33,262 posts - Astonishing!

Link to comment
Share on other sites

One last option but it is going to cost you.

 

CAD Studio has a program called LT Extension. One of the features is this...

 

Report length - reports lengths of all selected Lines and straight Polylines (no arcs or fit plines), grouped by layers (result can be copied over Clipboard to Excel, Word or back into AutoCAD).

 

To learn more about this program click on this link...

 

http://www.cadstudio.cz/en/apps/ltextension/

 

I'd create a button and assign the macro to it so it is always available. what does it do? That should be pretty self evident [PEDIT;Yes;Join;ALL;;;LIST;LAST;;] don't you think?

 

33,262 is not my post count. It is however my age in days.

Edited by ReMark
Link to comment
Share on other sites

The Polylines are not always adjacent, so that won't work - I am looking at the Cading and Coding solution.

33,262 Days Old - Astonishing!

Link to comment
Share on other sites

How do I run a VLX file in AutoCAD LT 2014?

 

You can't. VLX is a compiled lisp/visual lisp file. LT doesn't do lisp. We've covered this already remember?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...