Revit 2026 API
Generic |
Gets a list of ElementIds of the associated spaces for the zone.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ISet<ElementId> GetSpaceIds()
Public Function GetSpaceIds As ISet(Of ElementId)
public: ISet<ElementId^>^ GetSpaceIds()
member GetSpaceIds : unit -> ISet<ElementId>
Return Value
ISetElementIdThe associated spaces for the space-based zone.
| Exception | Condition |
|---|---|
| InvalidOperationException | This generic zone must be space-based. |
See Also