Hi Emily, nuke.selectedNode().knob('knobChanged').setValue(''' if nuke.thisKnob().name() == "which": print 'The which knob was touched' #Put whatever functions you want here ''')
On Wed, Feb 19, 2014 at 9:49 AM, Emily Greeley <emily.gree...@googlemail.com > wrote: > Hi all, > > I've got a function I'd like to run when a value of a 'which' in a switch > is changed. Is this possible? From what I've read, the 'knobchanged' call > might be what I'm looking for, but I'm not having much luck. > > Any pointers much appreciated. > > Cheers, > > Emily > > _______________________________________________ > 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 > >
_______________________________________________ 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