Transform2D Constructor (UV, UV, UV)


Constructs the transformation by specifying the vectors and the origin.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2021

Syntax

C#
public Transform2D(
	UV uVec,
	UV vVec,
	UV origin
)
Visual Basic
Public Sub New ( _
	uVec As UV, _
	vVec As UV, _
	origin As UV _
)
Visual C++
public:
Transform2D(
	UV^ uVec, 
	UV^ vVec, 
	UV^ origin
)

Parameters

uVec
Type: Autodesk.Revit.DB UV
The image of (1, 0) under OfVector(UV) .
vVec
Type: Autodesk.Revit.DB UV
The image of (0, 1) under OfVector(UV) .
origin
Type: Autodesk.Revit.DB UV
The image of (0, 0) under OfPoint(UV) . This defines the translational part of the transform.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null

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 →