## SITransformation.GetTranslationValues

### Description

Returns the X, Y and Z translation values for this transformation.
Note: This method uses output arguments. C# and some scripting languages (such as JScript and PerlScript) don't support arguments passed by reference. However, there is a alternate version of this method which is considered safe to use with C#, JScript and PerlScript: SITransformation.GetTranslationValues2

### C# Syntax

    SITransformation.GetTranslationValues( Object& out_pvarX, Object& out_pvarY, Object& out_pvarZ );

### Scripting Syntax

    SITransformation.GetTranslationValues( out_pvarX, out_pvarY, out_pvarZ );

### Parameters

Parameter | Type | Description
--- | --- | ---
out_pvarX | Double | X translation value
out_pvarY | Double | Y translation value
out_pvarZ | Double | Z translation value

### Examples

#### VBScript Example

    set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")

    Translate oCube , 2.36313544550135, 0.117570382688882, -1.17570382688882E-02, siRelative, siView, siObj, siXYZ

    set oTransform = oCube.Kinematics.Global.Transform

    oTransform.GetTranslationValues X, Y, Z

    Application.LogMessage "Translation values: " & X & "," & Y & "," & Z

### See Also

SITransformation.GetTranslationValues2 SITransformation.SetTranslationFromValues