Gizmos for download:
Python snippets I use regularly:
Turn off all postage stamps
for node in nuke.allNodes():
if "postage_stamp" in node.knobs().keys():
node['postage_stamp'].setValue(0)
Cache all Read nodes locally
for a in nuke.allNodes():
if a.Class()=='Read':
a['cached'].setValue(1)
a['cacheLocal'].setValue(0)
Prints all knobs of the selected node
node = nuke.selectedNode()
for i in range (node.getNumKnobs()):
print (node.knob(i).name())