Revit 2025.3 API
Topography |
Gets the ids of all subregion elements hosted on this topography surface.
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public IList<ElementId> GetHostedSubRegionIds()
Public Function GetHostedSubRegionIds As IList(Of ElementId)
public: IList<ElementId^>^ GetHostedSubRegionIds()
member GetHostedSubRegionIds : unit -> IList<ElementId>
Return Value
IListElementIdThe hosted subregion ids.
| Exception | Condition |
|---|---|
| InvalidOperationException | This element is not a TopographySurface. |
This applies to a TopographySurface element (not a SiteSubRegion or a topography surface associated with a BuildingPad).
This applies to TopographySurface and SiteSubRegion elements.
See Also