2027 Class
Changes 0
C

RoutingPreferenceRule

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