XCAFPrs_AISObject is the answer to my question,
I need to work about it, thanks to Kiril
Archived discussion
Handle(AIS_Shape) ais_Shape = Handle(AIS_Shape)::DownCast(aIO);
ais_Shape->SetColor(aQC);
ais_Shape->Attributes()->SetFaceBoundaryAspect(new Prs3d_LineAspect(Quantity_NOC_BLACK, Aspect_TOL_SOLID, 1.));
aCtx->Redisplay(ais_Shape, Standard_False);if i change the AIS_Shape color using above way it works.
Shape color is changing but boundary color is black.
But i use TPrsStd_AISPresentation to display the shape, so how can i apply above method to my code?
Discussion
Posts are displayed in their archived order.
XCAFPrs_AISObject is the answer to my question,
I need to work about it, thanks to Kiril