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: 25.0.0.0 (25.0.0.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. 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 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 →