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 |
|---|---|---|
| RoutingPreferenceRule(ElementId, String) | None | Constructs a RoutingPreferenceRule containing a segment or fitting Id (MEPPartId) and description. |
| Name | Return Type | Description |
|---|---|---|
| AddCriterion(RoutingCriterionBase) | None | Adds a new routing criterion. |
| Dispose() | None | Releases all resources used by the |
| GetCriterion(Int32) | RoutingCriterionBase | Gets the specified criteria. |
| RemoveCriteron(Int32) | None | Removes an existing criterion. |
| Name | Return Type | Description |
|---|---|---|
| Description | string | The description of the routing preference rule. |
| IsValidObject | bool | 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. |