Skip to content

RoutingConditions

Public 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.


Properties

Name

Description


Public Property

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

The junction type (Tee or Tap) to select if defined fittings of both junction types meet all routing conditions.


Methods

Name

Description


Public Method

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 all existing conditions


Public Method

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

Gets the routing condition at the specified index position.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

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)