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

Add a color DsgPrs_LengthPresentation

ATTIA's picture
Forums: 

I want to add a color of a line and I have used the method ADD DsgPrs_LengthPresentation::Add(aPresentation,myDrawer,myText,myPnt,LastPoint, -myDir, OffsetPoint, DsgPrs_AS_LASTAR);
how can I change the color of the lin when I use this method

Thanks

ATTIA's picture

To change the color of line you use the follow line:
aPresentation->Color(aColor);

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.