*linesplitatmultiplelines

Splits a group of selected free lines by a group of selected cut lines or edges.

Syntax

*linesplitatmultiplelines target_mark=<mark_id> trim_mark=<mark_id>

Type

HyperMesh Tcl Modify Command

Description

Splits the target group of free lines by a selected group of cut lines or edges. It can work with a single cut line and multiple cut lines.

Inputs

target_mark=<mark_id>
The ID of the mark containing the target free lines to be cut.
trim_mark=<mark_id>
The ID of the mark containing the lines/edges as cut lines.

Examples

To trim lines 3595, 3596, and 3597 with lines 3425, 3426, 3427, and 3428:
*createmark lines 1 3595 3596 3597
*createmark lines 2 3425 3426 3427 3428
*linesplitatmultiplelines target_mark=1 trim_mark=2

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

2021.2