Share

GenericZone.GetSpaceIds 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.1.0.0 (26.1.0.34)

Syntax

C#

public ISet<ElementId> GetSpaceIds()

Return Value

ISet<ElementId>
The associated spaces for the space-based zone.

Exceptions

ExceptionCondition
InvalidOperationException This generic zone must be space-based.

See Also

Reference

Was this information helpful?