Removes an existing group from the document. Reference groups cannot be removed. Deleting a group does not delete the member objects.
rhinoscriptsyntax.DeleteGroup (group_name)
rhinoscript.group.DeleteGroup (group_name)
group_name |
Required. String. The name of an existing group. |
Boolean |
True or False indicating success or failure. |
import rhinoscriptsyntax as rs
groups = rs.GroupNames()
if groups:
for group in groups: rs.DeleteGroup(group)
AddGroup