chaitanya_s Posted February 15, 2010 Posted February 15, 2010 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. Quote
ReMark Posted February 15, 2010 Posted February 15, 2010 Have you checked the CADTutor AutoLISP Archive? Look at the Line Length Calculator devised by coding guru Lee Mac. Quote
Lee Mac Posted February 15, 2010 Posted February 15, 2010 Thanks ReMark, I feel honoured mate EDIT: Also, if my program does not suit your needs, there is also DATAEXTRACTION Quote
fuccaro Posted February 16, 2010 Posted February 16, 2010 I wrote a Lisp to save the lenghts in a text file: http://www.cadtutor.net/forum/showthread.php?t=1697 Quote
chaitanya_s Posted February 16, 2010 Author Posted February 16, 2010 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. Thanks in advance:) Quote
Lee Mac Posted February 16, 2010 Posted February 16, 2010 I don't want to trim the rest of drawing for each part which is tedious job. Thanks in advance:) Sometimes we have to actually work for our money lol... Quote
Recommended Posts
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.