Creates a new fluid type and adds it to the document.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static FluidType Create( Document document, string fluidTypeName, FluidType basedOnFluidType )
Parameters
- document Document
- The document.
- fluidTypeName String
- The name of new created fluid type.
- basedOnFluidType FluidType
- The existing fluid type which is based on.
Return Value
FluidTypeThe newly created fluid type.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
