*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.
The mark must contain solid elements if specifying faces, or shell elements if specifying edges.
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:
0 - Along element normal
1 - Opposite element normal
face_or_edge
Create segment set:
0 - On edge
1 - On face
10 - On edge for shells, do not consider break angle
11 - On face for solids, do not consider break angle
20 - On edge for shells, consider hidden entities
21 - On face for solids, consider hidden entities
30 - On edge for shell, do not consider break angle, consider hidden entities
31 - On face for solid, do not consider break angle, consider hidden entities

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.