RoutingPreferenceRule
Description:
A class representing a rule set in MEP routing preferences.
A class representing a rule set in MEP routing preferences.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.RoutingPreferenceRule
System.Object
Autodesk.Revit.DB.RoutingPreferenceRule
public class RoutingPreferenceRule : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| RoutingPreferenceRule(ElementId, String) | None | Constructs a RoutingPreferenceRule containing a segment or fitting Id (MEPPartId) and description. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AddCriterion(RoutingCriterionBase) | None | Adds a new routing criterion. | |
| Dispose() | None | Releases all resources used by the RoutingPreferenceRule | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetCriterion(Int32) | RoutingCriterionBase | Gets the specified criteria. | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| RemoveCriteron(Int32) | None | Removes an existing criterion. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Description | string | The description of the routing preference rule. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. | |
| MEPPartId | ElementId | The referenced MEPPart (segment or fitting) type in this rule. It may be InvalidElementId if no MEPPart will be allowed when the conditions satisfy the criteria in this rule. | |
| NumberOfCriteria | int | Gets the number of routing criteria. | |
| RoutingPreferenceManager | RoutingPreferenceManager | Gets the routing preference manager that owns this rule. |