Color Dialog - Default Color

On 12/06/2017 at 15:04, xxxxxxxx wrote:

Hi people!

One question: Can I set a default color value to a gui.ColorDialog() ? Or for this I need to recreate an entire Color Dialog?

I only want to change the black value to another color. I have the code with this basic structure:

  
import c4d
from c4d import gui
  
def geo_color() :
    
    #color dialog
    cdlg = c4d.gui.ColorDialog(1)
    
    print cdlg
  
 
if __name__=='__main__':
    geo_color()

Thanks!!

On 13/06/2017 at 02:28, xxxxxxxx wrote:

Hi,

unfortunately this is currently not possible in Python. I added it to our list of missing Python features.