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: 24.0.0.0 (24.0.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.DBUV
The image of (1, 0) under OfVector(UV).
vVec
Type: Autodesk.Revit.DBUV
The image of (0, 1) under OfVector(UV).
origin
Type: Autodesk.Revit.DBUV
The image of (0, 0) under OfPoint(UV). This defines the translational part of the transform.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException 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 →