Window Select/Region is Empty on Inventor Drawing with VBA

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to place some text on a drawing through a VBA macro. The text will be going within the bounding box of a base view and I want to check that there is nothing (model geometry or other annotations) in that location that the text will overlap with. I will be looking at a strictly rectangular region.
I would like to simulate a "window select" operation (typically performed by clicking and dragging the left mouse button in the viewport). More specifically I would like to simulate a right-to-left (intersect) "window select" operation. My idea is to use the SelectSet resulting from that operation to determine if any of the object types I'm worried about are present in that region.
I cannot find any documentation or forum posts with a way to do a "window select" with VBA. Is there a way to do this?
If not, is there another way to check if a rectangular region on a drawing sheet is free of certain types of entities? Preferably I would like a list of all the objects in that region so I can do my own filtering operations.