Revit 2025.3 API
Zone |
Gets the associated zone equipment of the specified analytical space.
Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static ISet<ElementId> GetAssociatedZoneEquipment( Document document, ElementId spaceElementId )
Public Shared Function GetAssociatedZoneEquipment ( document As Document, spaceElementId As ElementId ) As ISet(Of ElementId)
public: static ISet<ElementId^>^ GetAssociatedZoneEquipment( Document^ document, ElementId^ spaceElementId )
static member GetAssociatedZoneEquipment : document : Document * spaceElementId : ElementId -> ISet<ElementId>
Parameters
- document Document
- The document where the analytical spaces and zone equipment exist.
- spaceElementId ElementId
- The specified analytical spaces.
Return Value
ISetElementIdAll associated zone equipment, either explicitly assigned or implicitly assigned via system-zone.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also