please see the attached document.
I loaded into a viewer two cubes, two AIS_ColoredShape (Fig. 1)
I created a composite solid, one single AIS_ColoredShape (the previous are removed from the display) (Fig. 2)
I hid one of the cubes of the composite solid, acting on the AIS_ColoredDrawer (->setHidden(true)) (Fig. 3)
I called context Redisplay onto the interactive shape, since I don't want the hidden cube is selectable
Unfortunately the hidden cube is selectable (Fig. 4)
Could you please help me?
P.S. OpenCascade 7.3.0, Windows10