Hi,
In Python, how do I set an expression on the disable knob of a node?
If I do something like this…
w = nuke.createNode("Write")
w.knob('disable').setValue('frame<10')
...the Write node is created as "disabled" with an X through it. What I want,
of course, is the string added as a conditional expression for the disable knob.
I can't figure out how to address the expression field. Usually, I can hover
over a field and get a popup with the name, but not with the expression field
input…
Thanks for any help,
Rich
Rich Bobo
Senior VFX Compositor
Armstrong-White
http://armstrong-white.com/
Email: [email protected]
Mobile: (248) 840-2665
Web: http://richbobo.com/
"Whatever you do, you need courage. Whatever course you decide upon, there is
always someone to tell you you are wrong. There are always difficulties arising
which tempt you to believe that your critics are right. To map out a course of
action and follow it to the end, requires some of the same courage which a
soldier needs. Peace has its victories, but it takes brave men to win them."
- Emerson
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python