RoutingConditions Class


Routing Conditions Class

RoutingConditions contain routing information that is used as input when determining if a routing criterion, such as minimum or maximum diameter, is met.
Inheritance Hierarchy
System Object
Autodesk.Revit.DB RoutingConditions

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class RoutingConditions : IDisposable

The RoutingConditions type exposes the following members.

Constructors
Name Description
Public method RoutingConditions Constructs a new instance of a RoutingConditions object with an indicated error level for conditions that do not meet any routing preference rule.
Top
Properties
Name Description
Public property ErrorLevel The error level that the routing preference manager should post errors if the routing conditions do not meet any routing preference rule, could be None, Warning, or Error
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public property PreferredJunctionType The junction type (Tee or Tap) to select if defined fittings of both junction types meet all routing conditions.
Top
Methods
Name Description
Public method AppendCondition Appends a routing condition to the end of existing routing conditions. Note that the first item (indexed at 0) is the condition for the primary connector.
Public method Clear Clear all existing conditions
Public method Dispose Releases all resources used by the RoutingConditions
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetConditionAt Gets the routing condition at the specified index position.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetNumberOfConditions Gets the number of included routing conditions.
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
See Also