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
TransformThe new transform.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was NULL |