ObjectARX

Reply
Distinguished Contributor
maisoui
Posts: 131
Registered: ‎12-07-2009
Message 1 of 3 (262 Views)
Accepted Solution

AcCmColor <-> AcCmEntityColor

262 Views, 2 Replies
10-09-2012 01:28 AM

Hi,

 

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

 

Regards,

Jonathan

 

--
Jonathan

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

Distinguished Mentor
owenwengerd
Posts: 637
Registered: ‎08-06-2002
Message 2 of 3 (256 Views)

Re: AcCmColor <-> AcCmEntityColor

10-09-2012 04:35 AM in reply to: maisoui

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

--
Owen Wengerd
ManuSoft
Distinguished Contributor
maisoui
Posts: 131
Registered: ‎12-07-2009
Message 3 of 3 (253 Views)

Re: AcCmColor <-> AcCmEntityColor

10-09-2012 05:07 AM in reply to: maisoui

Perfect!

Thank you very much.

--
Jonathan
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.