nuke.toNode('nodeName')['disable'].setValue(0) should work
The disable knob is expecting a boolean so you can either pass 0/1 or
True/False but without the '', like:
nuke.toNode('nodeName')['disable'].setValue(True)
In the firse case you're passing a string, it works cause the str value is not
0, in fact if you use
nuke.toNode('nodeName')['disable'].setValue('')
it should set your knob back to disabled[/quote]
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python