Get the file path from selected nodes:
sel=nuke.selectedNodes() for x in sel: print(x.knob("file").getValue())
No Comments