Jump to content

How to measure total length of several lines?


Recommended Posts

Hi,

I have a lot of lines and I need the Total length, I have them in a separate layer,

I have tried with Field and Dataextraction but it is not exactly what I need, or I did not do it exactly.

For Field, I can not select all line.

Dataextraction takes all lines in the drawing, I need lines that are in the layer.

How can I do that?

 

 

Lines.png

 

 

Thank you :)

Link to comment
Share on other sites

Also please note that DATAEXTRACTION command can process either entire drawing or a selection set - use QSELECT or FILTER to build it and input as Previous.

Link to comment
Share on other sites

Thank you for your help :)

An excellent lisp here: http://www.lee-mac.com/totallengthandarea.html [tlen.lsp]

 

 

I used the LISP it's perfect, great tool.

 

 

Also please note that DATAEXTRACTION command can process either entire drawing or a selection set - use QSELECT or FILTER to build it and input as Previous.

 

 

Dear MSasu, I have tried what you said but I don't find Previous, can you please explain how to do it, I want to learn it :) Thank you.

Link to comment
Share on other sites

Call the QSELECT command and define a filtering rule to suit your case; this will create a selection set with items matching that, those will be highlighted.

Now call DATAEXTRACTION and when asked to indicate what to interrogate check Select objects in the current drawing option and press the right locatedl ive selection button; when back in editor input P (for Previous). The previously defined selection set will be highlighted again and used for data extraction.

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...