*ME_TransformationMatrixSet
Sets the transformation matrix for a module.
Syntax
*ME_TransformationMatrixSet id r1c1 r1c2 r1c3 r1c4 r2c1 r2c2 r2c3 r2c4 r3c1 r3c2 r3c3 r3c4 r4c1 r4c2 r4c3 r4c4 is_relative
Type
HyperMesh Tcl Modify Command
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.
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
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0