AddGroup

Adds a new empty group to the document.

Syntax

rhinoscriptsyntax.AddGroup (group_name=None)

rhinoscript.group.AddGroup (group_name=None)

Parameters

group_name

Optional.  String.  The name of the new group.  If omitted, Rhino automatically generates the group name.

Returns

String

The name of the new group if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

name = rs.AddGroup("NewGroup")

Also See

DeleteGroup

GroupCount

GroupNames

IsGroup

RenameGroup