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