Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    How to change the color of shaded wire in C++

    Cinema 4D SDK
    s26 c++
    2
    3
    599
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pchg
      last edited by

      I used C++ to write the C4D S26 plugin on Windows 10, I want to change the color of the shaded wire, But don't know how to do it. Thanks in advance!
      31ba2da7-4a33-4125-a100-9d3b61c183a0-image.png

      1 Reply Last reply Reply Quote 0
      • i_mazlovI
        i_mazlov
        last edited by

        Hi @pchg ,

        Sorry for the delayed answer.

        For that you can use GetViewColor() and SetViewColor() functions. You can find view color IDs definitions here: VIEWCOLOR. In your specific case you'd be interested in VIEWCOLOR_SHADEDWIRE id.

        Cheers,
        Ilia

        MAXON SDK Specialist
        developers.maxon.net

        P 1 Reply Last reply Reply Quote 0
        • P
          pchg @i_mazlov
          last edited by

          @i_mazlov Thank you for your reply

          1 Reply Last reply Reply Quote 0
          • First post
            Last post