*adjustgroupsnormal
Adjusts a group normal using an orientation element.
Syntax
*adjustgroupsnormal name master_slave_flag mark_id elem_flag orientation_element reverse_normal
Type
HyperMesh Tcl Modify
Description
Adjusts a group normal using an orientation element.
Inputs
- name
- The name of the group entity to adjust.
- master_slave_flag
- 0 - Use slave
- mark_id1
- The ID of the mark of elements to adjust, when flag is 1. Valid values are 1 and 2.
- elem_flag
- Flag for reversing the contact normal of all or individual elements of the group.
- orientation_element
- The ID of the shell element that should be used for shell group normal correction on shell face. This element should be part of the selection.
- reverse_normal
- 0 – Correct group normal along the direction of orientation_element normal (default)
Examples
To reverse the normal of all master elements of the group "test":
*adjustgroupsnormal "test" 1 1 0 0 0
*adjustgroupsnormal "test" 0 1 0 0 0
*createmark elems 1 12 29 53 23
*adjustgroupsnormal "test" 1 1 1 23 0
*createmark elems 1 12 29 53 23
*adjustgroupsnormal "test" 1 1 1 23 1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0.130