*linecombinemarkall
Combine a selection of lines into a single line.
Syntax
*linecombinemarkall mark_id smooth keep_original_lines
Type
HyperMesh Tcl Modify Command
Description
The command joins a selection into a single line. The decision of which of the endpoints of the given lines to join depends only on the end points’ proximity: the lines with closest end points are joined together first.
Inputs
- mark_id
- The ID of the mark containing the lines to combine. Valid values are 1 and 2.
- smooth
- 0 - Join with straight segments
- keep_original_lines
- 0 - Do not keep
Examples
To join the lines with IDs 10,20,30 into a single line, joining them smoothly and deleting the input lines:
*createmark lines 1 10 20 30
*linecombinemarkall 1 1 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2019