Gets a fluid type by name.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public static FluidType GetFluidType( Document document, string fluidTypeName )
Parameters
- document Document
- The document.
- fluidTypeName String
- The name of fluid type.
Return Value
FluidTypeThe fluid type. null if the fluid type was not found.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |