Hey, So i know how to add a pyscript button itself... something like:
self.PyButton1 = nuke.PyScript_Knob('name', 'label', 'code') but im not sure how to get the code to work. If i have a long multiline python code i want to attatch to this button how would i do this? My best guess was to do def PyButton1Function: Py script here and here and so on and call that as the third argument on nuke.PyScript_Knob('name', 'label', 'code') but i cant seem to get anything i try to work. can someone enlighten me :(
_______________________________________________ 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