RVTDocs.com

FluidType.IsFluidInUse

Method
Description:
Identifies if the fluid type is in use.
Remarks:
If a fluid type is in use, it cannot be deleted.
Syntax
public static bool IsFluidInUse(
	Document document,
	ElementId fluidId
)
Parameters
Parameter Type Description
document Document The document.
fluidId ElementId The id of the fluid type.
Return Value
Type Description
Boolean True if the fluid type is in use. False if the fluid type is not in use.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null