nuke.linkSelected

nuke.linkSelected(action) bool

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

Parameters

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

Returns

True if succeeded, False otherwise.