HasViewportTransforms Method


Indicates if the viewport has transforms.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2023

Syntax

C#
public bool HasViewportTransforms()
Visual Basic
Public Function HasViewportTransforms As Boolean
Visual C++
public:
bool HasViewportTransforms()

Return Value

True if the viewport has transforms, false otherwise.

Remarks

Not all viewports have transforms. For example, viewports for schedules and legends do not have transforms.

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 →