p7q Posted yesterday at 12:31 PM Posted yesterday at 12:31 PM Hı Everyone I’m looking for an AutoLISP routine that can take a selection of objects (LINE, LWPOLYLINE, POLYLINE, etc.) and generate a single outer boundary (contour) that follows the outermost edges of these objects. The goal is to merge or outline only the outermost edges of all selected entities, ignoring any internal edges or overlaps. The resulting outer contour should be a closed polyline if possible. The type or layer of the original objects doesn’t matter — only their geometry matters. Has anyone developed or seen a routine like this, or could point me in the right direction? Thanks in advance! Quote
mhupp Posted yesterday at 12:48 PM Posted yesterday at 12:48 PM Always check lee mac's website first. might not work if all objects are not touching. Quote
BIGAL Posted 16 hours ago Posted 16 hours ago If all the objects touch ie no gaps, then this method should work, you draw a random closed pline around your objects, use BPOLY pick a point inside this dummy outer pline, two new plines will be made, erase the dummy and the new pline at the outer, you should now have a new pline wrapped around your objects. Quote
SLW210 Posted 2 hours ago Posted 2 hours ago There are some LISPs/programs out there. AutoCAD Architecture FREE toolset has the AECLINEWORKSHRINKWRAP command. Or... Polyline Outline (Advanced) | Lee Mac Programming. Maybe this... TotalBoundary • Outline creation tool - Programs and Scripts - AutoCAD Forums Maybe something in this thread... 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.