Hi all,

I'm having trouble to find the right code to access knobs on a RotoPaint
node (per layer). If I run nuke.selectedNode()["rotate"].setValue(20) on a
selected node it will set the value to the selected layer, but if no layer
is selected it doesn't work. If I run

import nuke.rotopaint as rp

rp = nuke.toNode("RotoPaint1")

curvesKnob = rp['curves']

layer = curvesKnob.toElement("Layer1")


I get access to Layer1. But how do I set a value to the rotate knob for
example?


Best regards,

Simon
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to