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 |
X translation value |
|
|
Y |
Y translation value |
|
|
Z |
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 = oTransformSee Also
Autodesk Softimage v7.5