Share

Transform.CreateTranslation Method

Creates a transform that represents a translation via the specified vector.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public static Transform CreateTranslation(
	XYZ vector
)

Parameters

vector  XYZ
The translation vector.

Return Value

Transform
The new transform.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was NULL

See Also

Reference

Was this information helpful?