AcCmColor <-> AcCmEntityColor

AcCmColor <-> AcCmEntityColor

maisoui
Advocate Advocate
1,257 Views
2 Replies
Message 1 of 3

AcCmColor <-> AcCmEntityColor

maisoui
Advocate
Advocate

Hi,

 

Is there a simple (or what is the best) way to convert AcCmEntityColor into AcCmColor and vice versa?

 

Regards,

Jonathan

 

--
Jonathan
0 Likes
Accepted solutions (1)
1,258 Views
2 Replies
Replies (2)
Message 2 of 3

owenwengerd
Advisor
Advisor
Accepted solution

You can use AcCmColor::setColor(AcCmEntityColor::color()) and AcCmColor::entityColor(), respectively.

--
Owen Wengerd
ManuSoft
Message 3 of 3

maisoui
Advocate
Advocate

Perfect!

Thank you very much.

--
Jonathan
0 Likes