nuke.addOnCreate

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

Add code to execute when a node is created or undeleted