| Revit 2020.1 API |
| RoutingConditions Members |
| RoutingConditions Class Constructors Methods Properties See Also |
The RoutingConditions type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| RoutingConditions |
Constructs a new instance of a RoutingConditions object with an indicated
error level for conditions that do not meet any routing preference rule.
|
Methods
| Name | Description | |
|---|---|---|
| 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.
| |
| Clear |
Clear all existing conditions
| |
| Dispose | Releases all resources used by the RoutingConditions | |
| Equals | (Inherited from Object.) | |
| GetConditionAt |
Gets the routing condition at the specified index position.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetNumberOfConditions |
Gets the number of included routing conditions.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| 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
| |
| IsValidObject |
Specifies whether the .NET object represents a valid Revit entity.
| |
| PreferredJunctionType |
The junction type (Tee or Tap) to select if defined fittings of both junction types meet all routing conditions.
|