IsValidTransform Method


Analytical Element Is Valid Transform Method

Checks whether the value set for Local Coordinate System is valid for an Analytical Element.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool IsValidTransform(
	Transform trf
)

Parameters

trf Transform
The value set to be verified.

Return Value

Boolean
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
Origin should be equal with Origin from GetTransform Z axis should be parallel with Analytical Element's plane's normal. X and Y axis should be in Analytical Element's plane. For non-planar elements the X or Y axis should be tangent at transform origin.
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 →