Skip to content

Instantly share code, notes, and snippets.

@petfactory
Created January 23, 2015 14:41
Show Gist options
  • Save petfactory/bb532196fbaf645ecb82 to your computer and use it in GitHub Desktop.
Save petfactory/bb532196fbaf645ecb82 to your computer and use it in GitHub Desktop.
import nuke
import os.path
sel_nodes = nuke.selectedNodes()
frame = nuke.frame()
node = sel_nodes[0]
file_path = nukescripts.replaceHashes( node['file'].value() ) % frame
file_exists = os.path.isfile(file_path)
if not file_exists:
print('MISSING:\n{0}'.format(file_path))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment