Quik&Easy Posted January 24, 2011 Posted January 24, 2011 Given a drawing such as the attached sample, I'd like to know how many entities or segments there are in total and what the total length of those segments are. I've been looking for a way to do it from the properties menu and only seem to get one at a time. Given the rectangles that are in there, will they be counted as one segment and do I have to explode them to get them to count as 4 segments? I'm referencing the top shape, but is there also a way to choose just the top shape in the event I need the information from just a section of a drawing? And the second question, is there a command that will put a reference or construction "border" rectangle around the widest dimensions, such as indicated by the bottom shape, which shows the reference corners that I put in using another program? It can be corners such as what I've done or it can be a closed rectangle. test drawing 1c.dwg Quote
nestly Posted January 24, 2011 Posted January 24, 2011 The Properties Palette shows many objects are selected and shows the number of each type of object. If you turn the perimeter into a polyline, Properties will show you the total length of the perimeter. The BOUNDARY command will create a new polyline while leaving the existing boundary objects un-altered. TLEN.lsp will calculate the total length of all the selected objects. And yes, if you want each side of a rectangle to be counted as it's own entity, you'll have to explode the polyline(s) Demo http://screencast.com/t/KTRzo4v9gf I have seen a lisp that will draw a box around the extents of the objects in the drawing similar to what you have around your lower part, but I don't know were to find it off the top of my head. *Edit* Scratch the lisp suggestions, I didn't notice you were using LT until afterward. Quote
Quik&Easy Posted January 24, 2011 Author Posted January 24, 2011 That demo is A-OK!!! Thank you for the info; that will help things alot. It seemed like it should have been a simple thing to find out but I guess not in the light version. 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.