nuke.makeGroup

nuke.makeGroup(show=True)Group

Creates a new group containing copies of all the currently selected nodes. Note that this creates duplicates of the selected nodes, rather than moving them.

Parameters

show – If show is True, the node graph for the new group is shown.

Returns

The new Group node.