*segmentsetaddfacesusingfacenumber

Adds faces of elements using a specific face number to a segment set.

Syntax

*segmentsetaddfacesusingfacenumber name mark_id face_number reverse_normals element_id option

Type

HyperMesh Tcl Modify Command

Description

Adds faces of elements using a specific face number to a segment set.

Inputs

name
The name of the segment set to update.
mark_id
The ID of the mark containing the elements to add. Valid values are 1 and 2.
face_number
The face number of the element (starting from 0).
reverse_normals
Create segment set:
0 - Along element normal
1 - Opposite element normal
element_id
If non-zero, specifies the single element to use instead of mark_id. option must be set non-zero.
option
If non-zero, specifies to use element_id instead of mark_id.

Examples

To add elements 1 through 100 using face number 2 to segment set "test":
*createmark elems 1 1-100
*segmentsetaddfacesusingfacenumber "test" 1 1 0

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