Okay, to give a quick update on this: thanks to Deke, I found that adding
this line:

result.knob('file').setFlag(0)

did what I was after. (His suggestion of
"result.knob('display').setFlag(0)" didn't work, as the Write node doesn't
have this knob.)

Oh, and to save anyone else looking for it... to get the current node from
the button callback, you have to use "nuke.thisNode()". Similarly
"nuke.thisKnob()" will return the clicked button.

Cheers!
Andy

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

Reply via email to