I am trying to apply different colors to several linked AIS_ConnectedInteractive to the same AIS_Shape. But could not make it work.
The SetColor function on AIS_ConnectedInteractive seems to do nothing.
I am using OCCT 7.5.
I already executed the example provided in the draw program:
vinit box b 1 1 1 psphere s 0.5 vdisplay b s vsetlocation s 0 2.5 0 box d 0.5 0.5 3 box d2 0.5 3 0.5 vdisplay -dispMode 1 d d2 vconnectto b1 -2 0 0 b vconnect z 2 0 0 b s vconnect z2 4 0 0 d d2 color=QUANTITY_NOC_RED vconnect z3 6 0 0 z z2 vfit
But the color of object z2 is the same as the referenced object.
Is it possible to change the color of a linked AIS_ConnectedInteractive independently from the referenced object ?
Thanks for your help.