Hi, here's my two cents:
For non-rectangular areas, try to get the bounding
box of the boundary. This would reduce the problem to only one situation to
deal with. Further on, if you want to remove the instances that are physically
outside the boundary (could have the insertion point inside though), then use
your boundary as a crossing polygon and delete all the instances of the
block that are outside your boundary (use ssget with a filter, in order to
select all the instances of that block).
If you want to remove all instances that have
the insertion point outside the boundary (there could be instances that are
inside the boundary), then you will have to use a function that checks if a
point (in our case the insertion point) is inside a certain area and if not,
remove that instance. Such a function was already published on this forum and it
won't be hard to find and to implement.
HTH
--
Humans are born with a wide
horizon.
As time goes by, the horizon narrows and
narrows, until it
becomes a point of view.
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Thanks
for the information, but the problem still arises when the area to be
populated is not rectangular. The problem is even worse when an arc is
introduced into the boundary. -- KT