cart: empty [ Login ]

Select all that intersects

1 
Optimise-IT
4/19/2023 12:31 PM

Hi. I've made a program based on one of your demos that utilizes the SelectInteractor for picking entities on screen. In this demo you can drag a square and it selects all the entities inside this square. My customer would like to be able to select any entities that intersects with this square (like you do in AutoCad) when you drag from bottom-right to top-left. San this be done in some inboilt way (with the SelectInteractor perhaps), or will I have to make my own logic for this?

Wout
4/19/2023 12:57 PM

Hi, You can do that with the SelectInteractor.GetEntitiesPartiallyInRectangle() methods. There are several flavors of selection in the SelectInteractor. - Wout

1