nuke.addOnScriptLoad

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

Add code to execute when a script is loaded