RhinoCommon API
GroupTableAdd Method (String) |
Adds a new empty group to the group table.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)

Parameters
- groupName
- Type: SystemString
name of new group.
Return Value
Type: Int32>=0 index of new group. -1 group not added because a group with that name already exists.

In some cases, calling Add() can cause the group indices to become invalid.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14