Revit 2025.3 API
Fluid |
Identifies if the fluid type is in use.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static bool IsFluidInUse( Document document, ElementId fluidId )
Public Shared Function IsFluidInUse ( document As Document, fluidId As ElementId ) As Boolean
public: static bool IsFluidInUse( Document^ document, ElementId^ fluidId )
static member IsFluidInUse : document : Document * fluidId : ElementId -> bool
Parameters
Return Value
BooleanTrue if the fluid type is in use. False if the fluid type is not in use.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |

If a fluid type is in use, it cannot be deleted.
See Also