*ME_TransformationMatrixSet

Sets the transformation matrix for a module.

Syntax

*ME_TransformationMatrixSet id rXcY is_relative

Type

HyperMesh Tcl Modify

Description

Sets the transformation matrix for a module.

Inputs

id
The ID of the module to set the transformation for.
rXcY
The row (X) and the column (Y) for the 4 x 4 transformation matrix.
is_relative
0 - An absolute matrix is passed, so internally derive the local relative matrix.
1 - A relative (to the parent module) matrix is passed in, so use it directly.

Example

Translate the passed 4 x 4 absolute matrix to a relative matrix, and store this in the hierarchy for module 168:

*ME_TransformationMatrixSet 168 0.994123 -0.058675 0.090977 0 0.058296 0.998276 0.006823 0 -0.09122 -0.001479 0.99583 0 3171.78 508.679 1582.44 1 0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

14.0