Adds a new empty group to the document.
rhinoscriptsyntax.AddGroup (group_name=None)
rhinoscript.group.AddGroup (group_name=None)
group_name |
Optional. String. The name of the new group. If omitted, Rhino automatically generates the group name. |
String |
The name of the new group if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
name = rs.AddGroup("NewGroup")