![Kadir Canik's picture Kadir Canik's picture](https://dev.opencascade.org/sites/default/files/styles/user/public/pictures/picture-54652-1625564368.jpg?itok=1SgPhawT)
Tue, 12/08/2020 - 01:16
Forums:
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?
Tue, 12/08/2020 - 09:52
XCAFPrs_AISObject is the answer to my question,
I need to work about it, thanks to Kiril