Revit 2026 API
TransformCreate |
Creates a transform that represents a translation via the specified vector.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static Transform CreateTranslation( XYZ vector )
Public Shared Function CreateTranslation ( vector As XYZ ) As Transform
public: static Transform^ CreateTranslation( XYZ^ vector )
static member CreateTranslation : vector : XYZ -> Transform
Parameters
- vector XYZ
- The translation vector.
Return Value
TransformThe new transform.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was NULL |
See Also