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

How to change the color of ISession_Direction object

Liang Quan's picture
Forums: 

Handle(ISession_Direction) aDirection = new ISession_Direction(gp_Pnt(0,0,0), gp_Pnt(3,0,0));
aDirection->SetColor(Quantity_NOC_GREEN);
myAISContext2D->Display(aDirection, Standard_False);

here "aDirection->SetColor(Quantity_NOC_GREEN);" does not to work, the direction is yellow,why?

CONNECT WITH 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.