2027 Class
Changes 0
C

RoutingPreferenceManager

Description:
Manages default pipe segments, fittings, and selection criteria for a given MEPCurveType
Remarks:
MEPCurveTypes contain a RoutingPreferenceManager property. The RoutingPreferenceManager contains rules for selecting segment types and sizes as well as fitting types based on user selection criteria.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.RoutingPreferenceManager
public class RoutingPreferenceManager : IDisposable
Name Return Type Description Inherited From
M AddRule(RoutingPreferenceRuleGroupType, RoutingPreferenceRule) None Adds a new routing preference rule to the rule group.
M AddRule(RoutingPreferenceRuleGroupType, RoutingPreferenceRule, Int32) None Adds a new routing preference rule to the specified position in the rule group.
M Dispose() None Releases all resources used by the RoutingPreferenceManager
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetMEPPartId(RoutingPreferenceRuleGroupType, RoutingConditions) ElementId Gets a fitting or segment id of given routing preference group that meets the specified routing conditions.
M GetNumberOfRules(RoutingPreferenceRuleGroupType) Int32 The number of RoutingPreference rules in a group.
M GetRule(RoutingPreferenceRuleGroupType, Int32) RoutingPreferenceRule Gets the specified rule.
M GetSharedSizes(Double, ConnectorProfileType) IList<ElementId> Gets a list of all segments of a given profile shape that define a given size.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M RemoveRule(RoutingPreferenceRuleGroupType, Int32) None Removes an existing routing preference rule. Thrown if the index is out of bounds.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P OwnerId ElementId The Id of the MEPCurveType that owns the RoutingPreferenceManager
P PreferredJunctionType PreferredJunctionType The preferred junction type.