| Revit 2022.1 API |
| RoutingPreferenceManager..::..GetNumberOfRules Method |
| RoutingPreferenceManager Class See Also |
The number of RoutingPreference rules in a group.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2013
Syntax
| C# |
|---|
public int GetNumberOfRules( RoutingPreferenceRuleGroupType eGroupType ) |
| Visual Basic |
|---|
Public Function GetNumberOfRules ( _ eGroupType As RoutingPreferenceRuleGroupType _ ) As Integer |
| Visual C++ |
|---|
public: int GetNumberOfRules( RoutingPreferenceRuleGroupType eGroupType ) |
Parameters
- eGroupType
- Type: Autodesk.Revit.DB..::..RoutingPreferenceRuleGroupType
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |