Revit 2025 API
Compound |
Gets the region ids of this compound structure.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public IList<int> GetRegionIds()
Public Function GetRegionIds As IList(Of Integer)
public: IList<int>^ GetRegionIds()
member GetRegionIds : unit -> IList<int>
Return Value
IListInt32The ids of the regions defining this CompoundStructure.

Exception | Condition |
---|---|
InvalidOperationException | This operation is valid only for vertically compound structures. |

A vertically compound structure consists of regions with polygonal boundaries.
See Also