Revit 2025 API
Compound |
Gets the extendable region ids for the compound structure.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public IList<int> GetExtendableRegionIds( bool top )
Public Function GetExtendableRegionIds ( top As Boolean ) As IList(Of Integer)
public: IList<int>^ GetExtendableRegionIds( bool top )
member GetExtendableRegionIds : top : bool -> IList<int>
Parameters
- top Boolean
- If true, retrieve ids of regions which are extendable at the top, otherwise retrieve the ids of regions which are extendable at the bottom.
Return Value
IListInt32An array of region ids which are marked extendable.

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

Regions along the top or bottom of the wall may be set to be extendable.
See Also