Handle(AIS_Shape) bFace = new AIS_Shape(aFace);
myAISContext->SetColor(bFace,Quantity_NOC_BLACK);
myAISContext->Display(bFace,Standard_True);
}
Thanks a lot !!!
Discussion
1 archived reply
Posts are displayed in their archived order.
01Commenter-1
Hi,
I may not understand the problem, but I think you must at least put a
expFace.Next()
in your while loop, so that it won't access the same face in all loop, which was doing a never ending loop . I think that the member function .More() only tells if there's a Next shape in the TopExp_Explorer object, but it doesn't move to the Next shape.