Python: Settng 3-value Color Knob

Hi there!

i have stored the data from a color knob in a file:

[1, 2, 3]

Now i want to write these values back into the color knob.

I tried:

x.knob(‘color’).setValue(1, 2, 3)

This runs without an error and the gizmo is switching to the "3-value-input-mode", but the numbers stay the same in all fields.
Does anyone know how to get those values back into the ColorKnob?

Thanks for your help!

cheers,
sean

No Responses to “Python: Settng 3-value Color Knob”

Post a Comment