nuke.addOnUserCreate

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

Add code to execute when user creates a node