*ME_TransformationMatrixSet
Sets the transformation matrix for a module.
Syntax
*ME_TransformationMatrixSet id rXcY 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