Created
April 26, 2019 09:06
-
-
Save Narann/e1b0134ae405c6713f7e9e1dec616124 to your computer and use it in GitHub Desktop.
Naive lookup for missing files in Nuke for given frame.
This file contains 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 fileseq | |
def missing_files(num): | |
for node in nuke.allNodes('Read'): | |
path = node.knob("file").value() | |
seq = fileseq.FileSequence(path) | |
path = seq.frame(num) | |
if not os.path.isfile(path): | |
yield path | |
for path in missing_files(134): | |
print "Missing file", path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment