RoutingPreferenceRule Members

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 (Inherited from Object.)
Public methodGetCriterion
Gets the specified criteria.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodRemoveCriteron
Removes an existing criterion.
Public methodToString (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