Skip to content

Instantly share code, notes, and snippets.

@Narann
Created April 26, 2019 09:06
Show Gist options
  • Save Narann/e1b0134ae405c6713f7e9e1dec616124 to your computer and use it in GitHub Desktop.
Save Narann/e1b0134ae405c6713f7e9e1dec616124 to your computer and use it in GitHub Desktop.
Naive lookup for missing files in Nuke for given frame.
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