nuke.addKnobChanged

nuke.addKnobChanged(call, args=(), kwargs={}, nodeClass='*', node=None)[source]

Add code to execute when any knob value changes The knob is available in nuke.thisKnob() and the node in nuke.thisNode(). This callback is triggered for any knob change, including changes made programmatically and changes that occur even when the Properties panel is closed (such as node position changes in the DAG). This is also called with dummy knobs when the control panel is opened or when the inputs to the node changes. Use addUpdateUI() for periodic updates during idle time.