RoutingCondition Constructor


Creates a new RoutingCondition.

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

Syntax

C#
public RoutingCondition(
	double diameter
)
Visual Basic
Public Sub New ( _
	diameter As Double _
)
Visual C++
public:
RoutingCondition(
	double diameter
)

Parameters

diameter
Type: System Double
The diameter of a routing segment.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException The given value for diameter must be greater than 0 and no more than 30000 feet.

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 →