HasViewTransforms Method


Returns true if the view reports model space to view projection space 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 HasViewTransforms()
Visual Basic
Public Function HasViewTransforms As Boolean
Visual C++
public:
bool HasViewTransforms()

Return Value

True if the view returns transforms, false otherwise.

Remarks

Not all views return transforms. For example, schedules and legends do not report 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 →