Tests whether a temporary view mode is currently enabled in the associated view.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public bool IsModeEnabled( TemporaryViewMode mode )
Parameters
- mode TemporaryViewMode
- The mode to evaluate
Return Value
BooleanTrue if the requested mode is available and enabled in the associated view; False otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |