Skip to content

Instantly share code, notes, and snippets.

@sanfx
Created July 7, 2013 15:34
Show Gist options
  • Save sanfx/5943837 to your computer and use it in GitHub Desktop.
Save sanfx/5943837 to your computer and use it in GitHub Desktop.
import nuke
y = [os.path.dirname(each['file'].getValue()) for each in nuke.selectedNodes() if each.Class() == 'Read' and not os.path.exists(os.path.dirname(each['file'].getValue()))]
sa = nuke.Panel("printFilePath", 600)
sa.addMultilineTextInput("Error'd Read Nodes","\n".join(y))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment