Message 1 of 2
How to filter elements inside the current zoom extent using .net api?

Not applicable
02-09-2017
10:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
I need to find the family instance from the current extent.
Objective is to show a list of instance after panning and zooming.
I used BoundingBoxIsInsideFilter(Outline) but what would be the outline input. If I create outline
from UIView.GetZoomCorners() that does not find any objects.
But if I used a large static value like new Outline(new XYZ(-500, -500, -100), new XYZ(500, 500, 100));
then it finds few elements.
Could you please provide me with the solution if you already know.
Thanks
Naym