Share

TemporaryViewModes.IsModeActive Method

Tests whether a given mode is currently active or not.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public bool IsModeActive(
	TemporaryViewMode mode
)

Parameters

mode  TemporaryViewMode
The mode being tested

Return Value

Boolean

Exceptions

ExceptionCondition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also

Reference

Was this information helpful?