Created
March 7, 2016 18:10
-
-
Save kpprt/4dc46a01d282e65fef17 to your computer and use it in GitHub Desktop.
Reload all precomps in a Nuke comp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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