*beamsectiontranslate
Translates a shell or solid beam section within its local coordinate frame.
Syntax
*beamsectiontranslate beam_sect_id translate_option translation_y translation_z
Type
HyperMesh Tcl Modify Command
Description
The beam section specified will be translated by the amounts specified by translation_y and translation_z, or be centered at the centroid or the shear center of the beam depending on the option specified by translation_option. The beam must be of type shell or solid.
Inputs
- beam_sect_id
- The ID of the shell or solid beam section to update.
- translate_option
- 0 - The section will be translated by the amounts specified by translation_y and translation_z.
- translation_y
- Amount of translation in the local y direction of the beam for a translation_option of 0.
- translation_z
- Amount of translation in the local z direction of the beam for a translation_option of 0.
Examples
To translate a beam section with ID 1 to be centered at its shear
center:
*beamsectiontranslate 1 2 0 0
To translate a beam section with ID 1 by 1.0 in the local y direction and 2.1 in the local
z direction:
*beamsectiontranslate 1 0 1.0 2.1
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.120