nuke.addUpdateUI

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

Add code to execute on every node when things change. This is done during idle, you cannot rely on it being done before it starts updating the viewer