hidden subshapes made unselectable in viewer

Hello forum,

A subshape of a shape can be made hidden. Is it possible to make that subshape unselectable (transparent to the highlight and selection mechanism)?

Thanks in advance

Giovanni

Kirill Gavrilov's picture

To make some part of object not selectable, either AIS_InteractiveObject::ComputeSelection() should skip this part, or customer filter set to AIS_InteractiveContext::AddFilter() should reject the part by some criteria.

Giovanni Bettega's picture

Thank you for the hint!
Regards, Giovanni