The RoutingPreferenceRule type exposes the following members.

Constructors

  NameDescription
Public methodRoutingPreferenceRule
Constructs a RoutingPreferenceRule containing a segment or fitting Id (MEPPartId) and description.

Methods

  NameDescription
Public methodAddCriterion
Adds a new routing criterion.
Public methodDispose
Releases all resources used by the RoutingPreferenceRule
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCriterion
Gets the specified criteria.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemoveCriteron
Removes an existing criterion.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyDescription
The description of the routing preference rule.
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertyMEPPartId
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.
Public propertyNumberOfCriteria
Gets the number of routing criteria.
Public propertyRoutingPreferenceManager
Gets the routing preference manager that owns this rule.

See Also