*segmentsetremoveelems

Removes elements from a segment set.

Syntax

*segmentsetremoveelems name mark_id

Type

HyperMesh Tcl Modify Command

Description

Removes elements from a segment set. If all elements are removed, the empty segment set still exists.

Inputs

name
The name of the segment set to update.
mark_id
The ID of the mark containing the elements to remove. Valid values are 1 and 2.

Examples

To remove elements 100 and 101 from the segment set "test":
*createmark elems 1 100 101
*segmentsetremoveelems  "test" 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