Message 1 of 5

Not applicable
01-17-2020
02:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,
I noticed that SelectFence unable to select entities if not shown on the map window.
I need to zoom out the extents to select an entity.
Is there a way to select entities without zooming out the map window. Please provide sample code.
Thank you.
Below is the code I am using.
TypedValue[] tvarr2 = new TypedValue[1];
tvarr2.SetValue(new TypedValue((int)DxfCode.Start, "LWPOLYLINE,POLYLINE"), 0);
SelectionFilter sf2 = new SelectionFilter(tvarr2);
PromptSelectionResult psr2 = ed.SelectFence(pts3d, sf2);
if (psr2.Status != PromptStatus.OK)//no feature selected
continue;
Solved! Go to Solution.