Revit 2020.1 API |
View3D..::..ToggleToPerspective Method |
View3D Class See Also |
Toggles this view to perspective.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.1.1.1)
Since:
2015 Subscription Update
Syntax
C# |
---|
public void ToggleToPerspective() |
Visual Basic |
---|
Public Sub ToggleToPerspective |
Visual C++ |
---|
public: void ToggleToPerspective() |
Remarks
This view can only be toggled to perspective if no view specific elements are contained.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..InvalidOperationException | This view cannot be toggled. |