Revit 2025 API
Routing |
Constructs a RoutingPreferenceRule containing a segment or fitting Id (MEPPartId) and description.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public RoutingPreferenceRule( ElementId MEPPartId, string description )
Public Sub New ( MEPPartId As ElementId, description As String )
public: RoutingPreferenceRule( ElementId^ MEPPartId, String^ description )
new : MEPPartId : ElementId * description : string -> RoutingPreferenceRule
Parameters
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also