*removesegments
Removes segments from multiple set-segments.
Syntax
*removesegments set_ids=<value> elem_ids=<value> face_indices=<value>
Type
HyperMesh Tcl Modify Command
Description
Removes segments from one or many set-segments. 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 removed.
- 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 remove segments with face indices 4 and 3 on element ID 78 from set ID
5:
*removesegments "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