nuke.selectedNode().knob('scale').setValue(55)
or
nuke.selectedNode().knob('scale').setExpression('frame*0.1')

is that what you r looking for ???

________________________________
From: lamakaha [[email protected]]
Sent: 18 May 2013 14:51
To: [email protected]
Subject: [Nuke-python] access active knob field with Python

Hi
How can i access active knob field with Python?
Example:
i have a Transform node, i do click inside of knob "scale" field of the node
Now i want to do some operations with this field with python. Is there some 
kind of command to do that ?
Thanks.

Just to be clear, nuke.selectedNode() is not what i am looking for.
more like nuke.selectedAtribute() [Confused]
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to