Ungroups the group.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ICollection<ElementId> UngroupMembers()
Return Value
ICollection<ElementId>If successful, the ids of the members of group are returned.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown if the group cannot be ungrouped. |
