2022 Class
Changes 0
C

RoutingConditions

Description:
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
public class RoutingConditions : IDisposable
Name Return Type Description
C RoutingConditions(RoutingPreferenceErrorLevel) None Constructs a new instance of a RoutingConditions object with an indicated error level for conditions that do not meet any routing preference rule.
Name Return Type Description
M AppendCondition(RoutingCondition) None 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.
M Clear() None Clear all existing conditions
M Dispose() None Releases all resources used by the
M GetConditionAt(Int32) RoutingCondition Gets the routing condition at the specified index position.
M GetNumberOfConditions() int Gets the number of included routing conditions.
Name Return Type Description
P ErrorLevel RoutingPreferenceErrorLevel 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
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P PreferredJunctionType PreferredJunctionType The junction type (Tee or Tap) to select if defined fittings of both junction types meet all routing conditions.