*linemarkbypath

Creates a line path from the starting line to the ending line.

Syntax

*linemarkbypath line_id1 line_id2 mark_id flag

Type

HyperMesh Tcl Modify

Description

Creates a line path from the starting line to the ending line.

Inputs

line_id1
The ID of the first line.
line_id2
The ID of the second line.
mark_id
The ID of the line mark to populate. Valid values are 1 and 2.
flag
0 - If both line_id1 and line_id2 lie are free edges, the path will follow free edges where possible. Otherwise, the shortest path is returned.
1 - Always return the shortest path.

Example

To determine the path between lines 100 and 110 using the shortest path:

*linemarkbypath 100 110 1 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

11.0.101