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
    1. Maxon Developers Forum
    2. aturtur
    3. Best
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 12
    • Best 1
    • Controversial 0
    • Groups 0

    Best posts made by aturtur

    • Removing color picker from ColorField

      Hello!

      I'm creating simple GeDialog and I'm wondering is it possible to remove color picker that is now default in ColorField in C4D R20?

      For my use what I'm trying to achieve there is no need for color picker and it is taking too much space from my dialog.

      alt text

      Script:

      import c4d
      from c4d.gui import GeDialog
      
      class Dialog(GeDialog): 
          def __init__(self):
              super(Dialog, self).__init__()
       
          def CreateLayout(self):
              self.SetTitle("Dialog")
              self.GroupBegin(1000, c4d.BFH_LEFT, 0, 0)
              self.AddColorField(1001, c4d.BFH_CENTER)
              self.GroupEnd()
              return True
        
      dlg = Dialog()
      dlg.Open(c4d.DLG_TYPE_ASYNC, 0, -2, -2)
      
      posted in Cinema 4D SDK python r20
      A
      aturtur