ObjectARX

ObjectARX

Reply
Mentor
maisoui
Posts: 151
Registered: ‎12-07-2009
Message 1 of 3 (276 Views)
Accepted Solution

AcCmColor <-> AcCmEntityColor

276 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: 686
Registered: ‎08-06-2002
Message 2 of 3 (270 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
Mentor
maisoui
Posts: 151
Registered: ‎12-07-2009
Message 3 of 3 (267 Views)

Re: AcCmColor <-> AcCmEntityColor

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

Perfect!

Thank you very much.

--
Jonathan
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.