Author Topic: Recreate SelectionFilter functionality using RealDWG  (Read 957 times)

0 Members and 1 Guest are viewing this topic.


  • Mosquito
  • Posts: 1
Recreate SelectionFilter functionality using RealDWG
« on: June 03, 2022, 01:15:35 PM »
I'm trying to find a block within a Point3d 'window' without using the Editor since it's a c#/RealDWG application.

I have a working sample using a SelectionFilter to find all INSERT then get the PromptSelectionResults from Editor.SelectCrossingWindow which I can then iterate through the results to find what I'm looking for.

I'm trying to recreate that since I'm using RealDwg and do not have access to SelectionFilter (or anything Editor).

Any direction is appreciated. Thanks!


  • Mosquito
  • Posts: 10
« Last Edit: June 04, 2022, 07:17:06 AM by Hanauer »


  • Bull Frog
  • Posts: 343
Re: Recreate SelectionFilter functionality using RealDWG
« Reply #2 on: June 05, 2022, 09:59:54 AM »
You simply loop through the Model/PaperSpace BlockTableRecord to find the entities in interest. If the entities' position matters (for example, they must be within a window/polygon), then you will need to do your own calculation to decide.