Skip to content

Instantly share code, notes, and snippets.

@sanfx
Created August 30, 2013 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanfx/6392188 to your computer and use it in GitHub Desktop.
Save sanfx/6392188 to your computer and use it in GitHub Desktop.
sel = nuke.selectedNode()
for i in range(0, sel.inputs()):
print "input %s of %s is connected to %s " % (i, sel.name(), sel.input(i).name())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment