Namespace:
Autodesk.Revit.DB
RoutingPreferenceRule
Class
Description:
A class representing a rule set in MEP routing preferences.
A class representing a rule set in MEP routing preferences.
RoutingPreferenceRule Class Members:
Name | Description | Inherited From |
---|---|---|
RoutingPreferenceRule | Constructs a RoutingPreferenceRule containing a segment or fitting Id (MEPPartId) and description. |
Name | Description | Inherited From |
---|---|---|
Description | The description of the routing preference rule. | |
IsValidObject | Specifies whether the .NET object represents a valid Revit entity. | |
MEPPartId | 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 | Gets the number of routing criteria. | |
RoutingPreferenceManager | Gets the routing preference manager that owns this rule. |
Name | Description | Inherited From |
---|---|---|
AddCriterion | Adds a new routing criterion. | |
Dispose | Releases all resources used by the RoutingPreferenceRule | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
GetCriterion | Gets the specified criteria. | |
GetHashCode | Serves as the default hash function. (Inherited from Object ) | Object |
GetType | Gets the Type of the current instance. (Inherited from Object ) | Object |
RemoveCriteron | Removes an existing criterion. | |
ToString | Returns a string that represents the current object. (Inherited from Object ) | Object |