*autoupdate1delems
Update orientation and/or offset of 1D elements with reference to neighboring shells.
Syntax
*autoupdate1delems <option1>=<value1> <option2>=<value2> ... <optionN>=<valueN>
Type
HyperMesh Tcl Modify Command
Description
This command updates the orientation and offset of 1D elements using the normal and thickness of neighboring shells. These shells are identified by the command itself. It works only with bar/beam elements.
Options can be provided in any order.
Inputs
- mark=<mark_id>
- The ID of the mark containing the input elements. Valid values are 1 and 2.
- adjustoffset=<value>
- Flag to adjust offset in vertical (normal) and/or lateral direction. Valid values are:
- allshells=<value>
- Flag to consider all or displayed neighbouring shells. Valid values are:
- angletol=<value>
- The angular tolerance in degrees, used for orientation to check whether shell normal is within limit.
- offsetends=<value>
- The flag to offset at both ends of the elements or any one. Valid values are:
- offsetlateral=<value>
- The offset flag in lateral direction. Valid values are:
- offsetnormal=<value>
- The offset flag in normal direction. Valid values are:
- orient=<value>
- Flag to orient the elements. Valid values are:
- rotate=<angle>
- The rotation angle in degrees, for orientation. Elements are rotated along their respective X-axis.
- thickness=<value>
- The mode of thickness to be considered for shell thickness, in case of multiple neighboring shells having different thickness values. Valid values are:
Examples
Update orientation of selected 1D elements by 180 degrees to shell normal:
*createmark elements 1 1 2 3 4
*autoupdate1delems mark=1 orient=1 rotate=180 allshells=0
Update offset of selected 1D elements at both ends in negative direction of base and positive direction of adjacent with respect to neighboring shells (considering its average thickness):
*createmark elements 1 1 2 3 4
*autoupdate1delems mark=1 orient=0 allshells=0 thickness=avg offsetnormal=neg offsetlateral=pos adjustoffset=all offsetends=startend
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2019