RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Group

Group.UngroupMembers

Method
Description:
Ungroups the group.
Remarks:
Removes all the members from the group and deletes the group. Note that the reference to this group object will become invalid once this method is called.
Syntax
Exceptions
Exception Condition
InvalidOperationException Thrown if the group cannot be ungrouped.