Message 1 of 9
Get object(s) at point.

Not applicable
07-19-2012
04:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I'm learning AutoCAD's api and it's going pretty good 🙂
But I have problem.
I would like to let user select some objects in model.
In model space we have few blocks (filled circles with center point). I'm iterating through the objects, and storing center points into some array (just example).
To this moment everything is pretty easy.
Now I would like to check if at each point I have specify object (like line, polyline, etc), so in other way - if my object is intersecting with line/polyline.
Method IntersectWith determine points between two objects, but I know (and if yes to get) if there is line/polyline at this point.
Is there any smart way to do this? Instead of iterating each block through each line/polyline?