*barelementrotatebyangle
Rotate bar elements along their respective X-axis using an input angle.
Syntax
*barelementrotatebyangle mark_id angle
Type
HyperMesh Tcl Modify Command
Description
Rotate bar elements along their respective X-axis using an input angle.
Inputs
- mark_id
- The ID of the mark containing the elements to rotate. Valid values are 1 and 2.
- angle
- The angle to rotate, in degrees.
Examples
To rotate elements 1-4 by 60 degrees:
*createmark elements 1 1-4
*barelementrotatebyangle 1 60
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
2019