HasViewportTransforms Method


Viewport Has Viewport Transforms Method

Indicates if the viewport has transforms.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool HasViewportTransforms()

Return Value

Boolean
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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →