View3D.RestoreOrientationAndLock Method
Locks the view and restores its orientation.
Namespace:
Autodesk.Revit.DB
Assembly:
RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void RestoreOrientationAndLock()
Exceptions
Exception
Condition
InvalidOperationException
View has never been locked.
See Also
Reference
View3D Class
Autodesk.Revit.DB Namespace