RVTDocs.com
Namespace: Autodesk.Revit.DB Class: View3D

View3D.SetOrientation

Method
Description:
Sets the temporary orientation of the View3D. The new orientation is not saved in the document.
Syntax
public void SetOrientation(
	ViewOrientation3D newViewOrientation3D
)
Parameters
Parameter Type Description
newViewOrientation3D ViewOrientation3D The new orientation to set.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
InvalidOperationException View is locked and cannot be reoriented.