Contains Method


Duct Sizes Contains Method

Checks whether a duct size with the nominal diameter exists.

Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool Contains(
	double nominalDiameter
)

Parameters

nominalDiameter Double
Nominal diameter.

Return Value

Boolean
True if a duct size with the nominal diameter exists.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →