
Mon, 06/25/2001 - 19:36
Forums:
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;
myAISContext->CloseAllContexts();
myAISContext->OpenLocalContext();
myAISContext->ActivateStandardMode(TopAbs_FACE);
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!
Wang
Tue, 06/26/2001 - 07:40
Hello,
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
Sergey