*linelistbypath

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

Syntax

*linelistbypath line_id1 line_id2 list_id flag

Type

HyperMesh Tcl Modify Command

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.
list_id
The ID of the line list 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:

*linelistbypath 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