For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

arrow presentation

Frank Conrad's picture


I have create an arrow structure and the default color of presentation is yellow:

Handle_Prs3d_Presentation g; gp_Pnt gp1, gp2; gp_Vec gv (gp1, gp2); gp_Dir gd (gv);

Prs3d_Arrow myPrsAr; myPrsAr.Draw (g, gp2, gd, myAngle, myLength);

How can I change the color of an arrow? The following code doesn't work.

Handle(Prs3d_ArrowAspect) anArrowAspect = myDrawer->ArrowAspect(); anArrowAspect->SetColor(Quantity_NOC_CADETBLUE3);

Thanks Frank!!

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.