nuke, python, scripts

Multi Paster


Oddly Nuke doesn’t allow you to copy a node and then paste it to multiple other nodes. This script does just that.

#paste to multiple selection
selected = nuke.selectedNodes()

for eachNode in selected:
    n = nuke.toNode(str(eachNode.name()))
    n.knob("selected").setValue(True)
    nuke.nodePaste("%clipboard%")