Display of Sewed Surface

Hi, All

I have a question about display of sewed surface and its original faces:

First I make a selection mode (using the below code:

Handle_AIS_InteractiveContext(myAISContext); myAISContext = GetDocument()->GetAISContext();

mySelectMode = SelectFace;




And then I use sewing methods to sew the faces selected together. I can find that the sewed surface is highlighted.

But after I choose select shell (using similar code for Face), this sewed surface is not displayed.

Could anybody give me a suggestion how to define the selection mode to make the new and old faces display together.

Thanks for any help!


Sergey RUIN's picture


Check for displaying the surface while LocalContext is opened. On closing LocalContext everything that has been displayed while it's being opened is removed from a viewer.

Best Regards