Revit 2025.3 API
Performance |
Retrieves an enabled/disabled status for the given rule.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool IsRuleEnabled( int index )
Public Function IsRuleEnabled ( index As Integer ) As Boolean
public: bool IsRuleEnabled( int index )
member IsRuleEnabled : index : int -> bool
Parameters
- index Int32
- The rule index to retrieve enabled/disabled status for.
Return Value
BooleanTrue if rule is disabled, false otherwise.

Exception | Condition |
---|---|
ArgumentException | The index is outside of acceptable range. |
See Also