MARTIN VIEL

Duplicate with Inputs

Duplicate nodes along with all its input connections preserved.

How to create a shortcut for this script ?

Create a folder named ‘python’ in your .nuke folder and put this file inside.

Add this line to the init.py file:


nuke.pluginAddPath("python")


Then add theses lines to the menu.py file:


import duplicate_with_inputs

nuke.menu("Nuke").addMenu("Python").addCommand("Duplicate with Inputs", "duplicate_with_inputs.duplicate()", "alt+d")


Now you can type alt+d to call this script.