Revit 2026 API
Fluid |
Creates a new empty fluid type and adds it to the document.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static FluidType Create( Document document, string fluidTypeName )
Public Shared Function Create ( document As Document, fluidTypeName As String ) As FluidType
public: static FluidType^ Create( Document^ document, String^ fluidTypeName )
static member Create : document : Document * fluidTypeName : string -> FluidType
Parameters
- document Document
- The document.
- fluidTypeName String
- The name of fluid type.
Return Value
FluidTypeThe newly created fluid type.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also