KinematicState.PutTransform2 operator

Introduced

v6.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.

C# Syntax

KinematicState.PutTransform2( Object inFrame, Object in_pTrans );

Scripting Syntax

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

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 KinematicState.GetTransform2 method. 
#

See Also

KinematicState.Transform KinematicState.GetTransform2