View3D.RestoreOrientationAndLock Method

View3DRestoreOrientationAndLock Method

Locks the view and restores its orientation.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void RestoreOrientationAndLock()
Public Sub RestoreOrientationAndLock
public:
void RestoreOrientationAndLock()
member RestoreOrientationAndLock : unit -> unit 
Exceptions
ExceptionCondition
InvalidOperationException View has never been locked.
See Also