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

    gui.ColorDialog() offers no options

    Cinema 4D SDK
    2
    3
    535
    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.
    • B
      BretBays
      last edited by

      I believe this has been ever since R18 when the color chooser was updated. I am trying to use ColorDialog() to try to allow the user to pick a custom color to color their object. Nothing fancy, I just need a way to let the user choose whatever color they want. Right now, doing:

      color=gui.ColorDialog(c4d.POPUP_BELOW)

      Only gives me a tiny window, with a swatch and an eye dropper. No RGB, no nothing else. Is there a specific flag or something I need to pass in to get something more like when you click on the color swatch for an object color?

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by

        Hi @BretBays this is a mac issue, I've open a new bug report about it, on windows you get this when you call ColorDialog
        ea90922e-b39b-488e-862a-e07b0321e9f5-image.png .

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • M
          m_adam
          last edited by m_adam

          And I should have opened my eyes previously, but c4d.POPUP_BELOW shouldn't be used but instead color=gui.ColorDialog(0).

          I will improve the python documentation n this regards, for more information see the c++ doc about GeColorChoose.

          So this is not a bug.
          Cheers,
          Maxime.

          MAXON SDK Specialist

          Development Blog, MAXON Registered Developer

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