ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AcCmColor <-> AcCmEntityColor

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
maisoui
923 Views, 2 Replies

AcCmColor <-> AcCmEntityColor

Hi,

 

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

 

Regards,

Jonathan

 

--
Jonathan
2 REPLIES 2
Message 2 of 3
owenwengerd
in reply to: maisoui

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

--
Owen Wengerd
ManuSoft
Message 3 of 3
maisoui
in reply to: maisoui

Perfect!

Thank you very much.

--
Jonathan

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost