Extract polyline properties ignoring nested polylines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello.
I have a LISP code to extract closed polyligne properties on Autocad MAP 3D.
It works well.
But I have some closed polylines that have polylines nested in them.
So when I want to extract the area value for example, I have the total area contained in the big exterior polyline.
But what I want to have is the area contained in the the big exterior polyline MINUS the area contained in the small polyline inside the big one.
Because I want to have precisely the area of a room, that is to say the area minus the pillars.
To be the as general as possible, I would prefer to have the area of each room minus the area of every closed geometrical figure that is inside, whether it is a closed polyline or a circle for example.
Do you know what I have to change in the LISP code in order to do that ?
Thank you.