Message 1 of 5
Selection Filter to ignore XREF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
Does anyone know of a way to ignore XREF's when doing a Editor.SelectAll?
The reason I ask is purely based on efficiency. I am searching on polylines and circles in the current database, but don't care about any xref'd databases. Sometimes this can take a little while if there are quite a few xref'd drawings.
This is the code I'm using:
TypedValue[] types = new TypedValue[] { new TypedValue((int)DxfCode.Start, "LWPOLYLINE,CIRCLE") }; PromptSelectionResult selectionRes = ed.SelectAll(new SelectionFilter(types));
Thanks for any help,
Chris.