Contains Method


Checks whether a conduit size with the nominal diameter exists.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2017

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: SystemDouble
Nominal diameter.

Return Value

True if a conduit size with the nominal diameter exists.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException The given value for nominalDiameter must be greater than 0 and no more than 30000 feet.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →