Last active
June 25, 2020 07:37
-
-
Save sean-c-johnston/10634130 to your computer and use it in GitHub Desktop.
Nuke script, reloads all Read nodes to update any images that may have changed.
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
def allNodeReload(): | |
'''Reloads all applicable nodes in the project.''' | |
rl, nr = 0 | |
for node in nuke.allNodes(): | |
if node.knob("reload"): | |
rl += 1 | |
print node.name() | |
node.knob("reload").execute() | |
else: | |
nr += 1 | |
print rl, 'nodes reloaded,', nr, 'not reloadable.' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment