View3D.SaveOrientationAndLock Method
Locks the view and saves its orientation
Namespace:
Autodesk.Revit.DB
Assembly:
RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void SaveOrientationAndLock()
Exceptions
Exception
Condition
InvalidOperationException
Returns true if the view is not a view template. -or- The orientation of the View3D cannot be saved.
See Also
Reference
View3D Class
Autodesk.Revit.DB Namespace