View3DSaveOrientationAndLock Method

Locks the view and saves its orientation

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void SaveOrientationAndLock()
Exceptions
ExceptionCondition
InvalidOperationException Returns true if the view is not a view template. -or- The orientation of the View3D cannot be saved.
See Also