Contains Method


Checks whether a duct size with the nominal diameter exists.

Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2013

Syntax

C#
public bool Contains(
	double nominalDiameter
)
Visual Basic
Public Function Contains ( _
	nominalDiameter As Double _
) As Boolean
Visual C++
public:
bool Contains(
	double nominalDiameter
)

Parameters

nominalDiameter
Type: System Double
Nominal diameter.

Return Value

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 →