*segmentsetaddfaces
Adds elements using the face/edge option to a segment set.
Syntax
*segmentsetaddfaces name elem_mark_id node_mark_id break_angle reverse_normals face_or_edge
Type
HyperMesh Tcl Modify Command
Description
Adds elements using the face/edge option to a segment set.
Inputs
- name
- Name of the segment set to update.
- elem_mark_id
- The ID of the mark containing the elements to add. Valid values are 1 and 2.
- node_mark_id
- The ID of the mark containing the nodes that define an edge or a face of an element. Valid values are 1 and 2.
- break_angle
- The break angle for finding adjacent elements.
- reverse_normals
- Create segment set:
- face_or_edge
- Create segment set:
Examples
To add elements 1-100 with faces defined by nodes 1-5 to the segment set "test" with a
break_angle of 30.0:
*createmark elems 1 1-100
*createmark nodes 1 1-5
*segmentsetaddfaces "test" 1 1 30.0 0 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
2020
2021 - Added face_or_edge values 10, 11, 20, 21, 30 and 31.