Revit 2025.3 API
Routing |
The number of RoutingPreference rules in a group.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public int GetNumberOfRules( RoutingPreferenceRuleGroupType eGroupType )
Public Function GetNumberOfRules ( eGroupType As RoutingPreferenceRuleGroupType ) As Integer
public: int GetNumberOfRules( RoutingPreferenceRuleGroupType eGroupType )
member GetNumberOfRules : eGroupType : RoutingPreferenceRuleGroupType -> int
Parameters
- eGroupType RoutingPreferenceRuleGroupType
Return Value
Int32| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
See Also