The number of RoutingPreference rules in a group.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
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 |