nuke.cloneSelected

nuke.cloneSelected(action) bool

This makes a clone of all selected nodes, preserving connections between them, and makes only the clones be selected.

Parameters:

action – Optional and if ‘copy’ it cuts the resulting clones to the clipboard.

Returns:

True if succeeded, False otherwise.