Revit 2018 API |
ConduitSizes..::..Contains Method |
ConduitSizes Class See Also |
Checks whether a conduit size with the nominal diameter exists.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.0.0.420)
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: System..::..Double
Nominal diameter.
Return Value
True if a conduit size with the nominal diameter exists.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | The given value for nominalDiameter must be greater than 0 and no more than 30000 feet. |