*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
The 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 specifing 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

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