For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Display of Sewed Surface

David Wang's picture

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


Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.