*reversesegments

Reverses segments normal.

Syntax

*reversesegments set_ids=<value> elem_ids=<value> face_indices=<value>

Type

HyperMesh Tcl Modify Command

Description

Reverses segments normal. A segment is defined using its corresponding set ID, element ID, and face index.

Inputs

set_ids=<value>
The ordered list of set IDs from which the segments need to be reversed.
elem_ids=<value>
The ordered list of element IDs corresponding to the segments.
face_indices=<value>
The ordered list of face indices corresponding to the segments.

Examples

To reverse normal of segments with face indices 4 and 3 on element ID 78 from set ID 5:
*reversesegments "set_ids={5 5}" "elem_ids={78 78}" "face_indices={4 3}"

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

2022.1