GetRegionIds Method


Compound Structure Get Region Ids Method

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()

Return Value

IList Int32
The ids of the regions defining this CompoundStructure.
Exceptions
Exception Condition
InvalidOperationException This operation is valid only for vertically compound structures.
Remarks
A vertically compound structure consists of regions with polygonal boundaries.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →