Share

View.DisableTemporaryViewMode Method

Disables the specified temporary view mode.


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

Syntax

C#

public void DisableTemporaryViewMode(
	TemporaryViewMode mode
)

Parameters

mode  TemporaryViewMode
The mode to disable.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
InvalidOperationException View cannot use temporary visibility modes.

Remarks

Has no effect if the mode is already disabled.

See Also

Reference

Was this information helpful?