Michael,
I tried this out, and it's still "analyzing the selected data." I think I killed AutoCAD.
Yeah, the pick points is still not very reliable.
But even if it wasn't, your step 4 is very challenging to convert to code -- how to tell a computer to look for "empty space."
I poked around with a process that could work, something like this:
- select all shrubs within polyline, and separately select all shrubs crossing polyline
- convert bounding polyline to Region object
- for each shrub crossing but not within boundary, subtract from boundary region
- explode boundary region, PEDIT pieces and join back to polyline
That seems to work! But as you might guess, it has its own drawbacks -- notably, it forcibly alters the bounding polyline, so that if one of the crossing shrubs was later deleted, its exclusion arc is still a part of the boundary. The only way around this, would be to subtract the outer portion of the intersecting shrub from the outer polyline, and then subtract *that* from the shrub region. So that too, could totally work, it would just chug a little bit if there were a lot of intersecting shrubs. So.... interesting!
Okay, I'll mark up the wishlist request with my testing notes, and see when we might be able to implement this.
--J