XREF not selectable

1
Lagen
3/21/2020 9:31 AM

Hi Wout

Is there someway to make that XREF can not be selected(Highlighted) by user?
I know in AutoCAD it's not possible, but maybe you have some function for this.

/Patrik

Wout
3/23/2020 11:43 AM

Hi Patrik,

I have added a property SelectInteractor.FilterEntity, which has type Func<RenderedEntityInfo, bool> (this is a delegate). So you can implement your own behavior. If the FilterEntity method returns true, then the entity is included in the selection.

- Wout

Lagen
3/23/2020 12:14 PM

Hi Wout, Thanks a lot.

If the selection include selected items from booth XREF and modelspace.
Will it be possible to keep selection in modelspace highlighted and the XREF not highlighted?

/Patrik

Wout
3/23/2020 12:27 PM

Give it a try, I don't know what will happen in this case.

- Wout

Lagen
3/23/2020 12:50 PM

Hi Wout

It's not possible to download the file.
4.0.38.228 3/23/2020 55.33 MB download not authorized.

1