Hi, is it possible to change a color of hilighted/selected Face without changing the color of a whole shape? I know i can activate StandardMode (ctx->ActivateStandardMode(4)) but it only highlights the edges of a face and not the whole face.
Archived discussion
change face color
Hi,
I try to change face color, but it is always yellow. my code as following:
TopoDS_Face aFace;
Handle(AIS_Shape) bFace = new AIS_Shape(aFace);
bFace->SetColor(Quantity_NOC_RED);
myAISContext->Display(bFace);
Thank you for your sharing!!
Discussion
3 archived replies
Posts are displayed in their archived order.
Hi ! Did you found how to change a color of hilighted/selected Face without changing the color of a whole shape??
Hi,
Did you find any way to access attributes of an AIS shape?
Thank You!