GetScalingValues (SITransformation)
Description
Returns the X, Y and Z scaling 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.GetScalingValues2
Scripting Syntax
SITransformation.GetScalingValues( X, Y, Z )
C# Syntax
SITransformation.GetScalingValues( Object& out_pvarX, Object& out_pvarY, Object& out_pvarZ );Parameters
|
Parameter |
Type |
Description |
|
X [out] |
X scaling value. |
|
|
Y [out] |
Y scaling value. |
|
|
Z [out] |
Z scaling value. |
Examples
VBScript Example
set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
Scale oCube, 0.90715667311412, 1, 1, siRelative, siLocal, siObj, siXYZ
set oTransform = oCube.Kinematics.Global.Transform
oTransform.GetScalingValues X, Y, Z
Application.LogMessage "Scaling values: " & X & "," & Y & "," & Z See Also
Autodesk Softimage v7.5