ToggleToPerspective Method


Toggles this view to perspective.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
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.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →