Skip to content

Instantly share code, notes, and snippets.

@kpprt
Created March 7, 2016 18:10
Show Gist options
  • Save kpprt/4dc46a01d282e65fef17 to your computer and use it in GitHub Desktop.
Save kpprt/4dc46a01d282e65fef17 to your computer and use it in GitHub Desktop.
Reload all precomps in a Nuke comp
import nuke
for n in nuke.allNodes():
k = n.knob('reload_script')
if k != None:
print 'reloading ' + n.name()
k.execute()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment