*setgraphictranslation
Graphically translates the specified entity.
Syntax
*setgraphictranslation entity_type entity_id x y z
Type
HyperMesh Tcl Modify
Description
Graphically translates the specified entity.
Currently only supported for FE inside of components.
Inputs
- entity_type
- The type of entity to graphically translate. Only supported for components.
- entity_id
- The ID of the entity to graphically translate.
- x
- The x value of the graphic translation. A value of 0 indicates no translation.
- y
- The y value of the graphic translation. A value of 0 indicates no translation.
- z
- The z value of the graphic translation. A value of 0 indicates no translation.
Examples
To set the graphic translation of component 100 to 3, 0, 0:
*setgraphictranslation comps 100 3 0 0
To unset the graphic translation of component 100:
*setgraphictranslation comps 100 0 0 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
11.0.130