How to highlight the inner line of a pipe when I select the inner line ?

Kirill Gavrilov's picture

More detailed description of the problem would be helpful.
If you would like to display something on top of 3D presentation (e.g. ignoring depth values), then this could be achieved by using different Z-Layers (e.g. Graphic3d_ZLayerId_Topmost applied to the pipe inner line presentation).

TIAN DAJIANG's picture

Kirill Gavrilov, Thanks your Reply!
This is my code, but it does not work, what should i modify the code ?
Handle(Prs3d_Drawer) t1_select_style = myAISContext()->HighlightStyle(Prs3d_TypeOfHighlight_LocalSelected);
t1_select_style-> SetZLayer(Graphic3d_ZLayerId_Topmost );