GetAssociatedZoneEquipment Method (Document, ElementId)


Gets the associated zone equipment of the specified analytical space.

Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2020.1

Syntax

C#
public static ISet<ElementId> GetAssociatedZoneEquipment(
	Document document,
	ElementId spaceElementId
)
Visual Basic
Public Shared Function GetAssociatedZoneEquipment ( _
	document As Document, _
	spaceElementId As ElementId _
) As ISet(Of ElementId)
Visual C++
public:
static ISet<ElementId^>^ GetAssociatedZoneEquipment(
	Document^ document, 
	ElementId^ spaceElementId
)

Parameters

document
Type: Autodesk.Revit.DB Document
The document where the analytical spaces and zone equipment exist.
spaceElementId
Type: Autodesk.Revit.DB ElementId
The specified analytical spaces.

Return Value

All associated zone equipment, either explicitly assigned or implicitly assigned via system-zone.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also