Jump to content

How to find the length of all drawing entities (line, arc, polyline, etc.)?


Recommended Posts

Posted

How to find the length of all drawing entities (line, arc, polyline, etc.) which are in one layer between two match lines of a drawing?

 

I have a drawing of a signing & marking for a highway road of stretch 100 km. I divided this drawing into 100 sheets, each 1 km for the sheets preparation. I have drawn match lines for every 1 km, to represent a sheet. I have to calculate any signing or marking item's length or area for each sheet. I cannot trim rest of the drawing for every sheet to find the length/ area of the items. Please suggest me some smart method to find the length of all drawing entities (line, arc, polyline, etc.) which are in one layer between two match lines of a drawing.

 

Thanks in advance.:)

Posted

Have you checked the CADTutor AutoLISP Archive? Look at the Line Length Calculator devised by coding guru Lee Mac.

Posted

Thanks ReMark, I feel honoured mate :)

 

EDIT: Also, if my program does not suit your needs, there is also DATAEXTRACTION :)

Posted

Thanks ReMark, Lee Mac and fuccaro for your responses. :)

 

All the solutions which you were provided have not solved my problem.:(

 

The program should be such that it helps me in breaking the whole drawing into several drawings based on match lines provided at equal or unequal distances. Then once it is divided into several drawings, i can use your lisps to calculate the lengths of various drawing entities. I don't want to trim the rest of drawing for each part which is tedious job. :unsure:

 

Thanks in advance:)

Posted
I don't want to trim the rest of drawing for each part which is tedious job. :unsure:

 

Thanks in advance:)

 

Sometimes we have to actually work for our money lol... :P o:)

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