GenericZoneGetSpaceIds Method

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

Return Value

ISetElementId
The associated spaces for the space-based zone.
Exceptions
ExceptionCondition
InvalidOperationException This generic zone must be space-based.
See Also