• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk ObjectARX

    Reply
    Valued Contributor
    maisoui
    Posts: 55
    Registered: ‎12-07-2009
    Accepted Solution

    AcCmColor <-> AcCmEntityColor

    106 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

     

    Please use plain text.
    Mentor
    Posts: 239
    Registered: ‎08-06-2002

    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
    Please use plain text.
    Valued Contributor
    maisoui
    Posts: 55
    Registered: ‎12-07-2009

    Re: AcCmColor <-> AcCmEntityColor

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

    Perfect!

    Thank you very much.

    Please use plain text.