createGroup

Description

Create a group from the selection of nodes. The list of nodes is a string where the nodes are separated by commas. The actual name of each node in the list of nodes must include the full path of that node. The function returns the full path of the created group, or an empty string if the creation of the node failed.

The parent of the group is implicitly specified. It will be the same as the parent of the first node in the list.

Syntax

node.createGroup( nodes, groupName );

Arguments

nodes: This a list comma delimited list of names of nodes.
groupName: The name of the group to create. The actual group.

Related Topics 

Node