PutTransform2 (KinematicState) *

Introduced

6.0

Description

Sets the transformation of an object.

Currently you cannot set the tranform at a different time than the current time. To cause the transformation to change over time you should animate the parameters of the KinematicState object.

Note: This is the Python-compliant version of the KinematicState.Transform property (for setting the transformation). Since Python does not support input parameters on properties, KinematicState.Transform will fail in Python.

Scripting Syntax

KinematicState.PutTransform2( [Frame], [Value] )

C# Syntax

KinematicState.PutTransform2( Object inFrame, Object in_pTrans );

Parameters

Parameter

Type

Description

Frame

Variant

Frame at which to set the transform. Pass null for current time.

Value

Dispatch

New transform value.

Examples

Python Example

#
# See the example for the <object idref="KinematicState.GetTransform2"/> method. 
#

See Also

KinematicState.Transform

KinematicState.GetTransform2



Autodesk Softimage v7.5