SetTranslationFromValues (SITransformation)

Description

Sets the X, Y and Z translation values for this transformation.

Scripting Syntax

SITransformation.SetTranslationFromValues( X, Y, Z )

C# Syntax

SITransformation.SetTranslationFromValues( Double in_dX, Double in_dY, Double in_dZ );

Parameters

Parameter

Type

Description

X

Double

X translation value

Y

Double

Y translation value

Z

Double

Z translation value

Examples

VBScript Example

set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
set oTransform = oCube.Kinematics.Global.Transform
oTransform.SetTranslationFromValues 2, 2, 3
oCube.Kinematics.Global.Transform = oTransform

See Also

SITransformation.GetTranslationValues

SITransformation.GetTranslationValues2

SITransformation.SetTranslation



Autodesk Softimage v7.5