Gets the fluid type of the specified service.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2024
Syntax
C# |
---|
public ElementId GetFluidType( FabricationService service ) |
Visual Basic |
---|
Public Function GetFluidType ( _ service As FabricationService _ ) As ElementId |
Visual C++ |
---|
public: ElementId^ GetFluidType( FabricationService^ service ) |
Parameters
- service
- Type: Autodesk.Revit.DB..::..FabricationService
The service to lookup.
Return Value
The fluid type id.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | service is not mapped to a fluid type and temperature. |
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |