| Revit 2020.1 API |
| ZoneEquipment..::..GetAssociatedZoneEquipment Method (Document, ISet<(Of <(<'ElementId>)>)>) |
| ZoneEquipment Class See Also |
Gets the associated zone equipment of all specified analytical spaces.
Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.1.1.1)
Since:
2020.1
Syntax
| C# |
|---|
public static ISet<ElementId> GetAssociatedZoneEquipment( Document document, ISet<ElementId> spaces ) |
| Visual Basic |
|---|
Public Shared Function GetAssociatedZoneEquipment ( _ document As Document, _ spaces As ISet(Of ElementId) _ ) As ISet(Of ElementId) |
| Visual C++ |
|---|
public: static ISet<ElementId^>^ GetAssociatedZoneEquipment( Document^ document, ISet<ElementId^>^ spaces ) |
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
The document where the analytical spaces and zone equipment exist.
- spaces
- Type: System.Collections.Generic..::..ISet<(Of <(<'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 |