*nodelistbypath

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

Syntax

*nodelistbypath node_id1 node_id2 list_id

Type

HyperMesh Tcl Modify

Description

Creates a node path from the starting node to the ending node. If both node_id1 and node_id2 lie on free edges, the path will follow free edges where possible. Otherwise, the shortest path is returned.

Inputs

node_id1
The ID of the first node.
node_id2
The ID of the second node.
list_id
The ID of the node list to populate. Valid values are 1 and 2.

Example

To determine the path between nodes 100 and 110:

*nodelistbypath 100 110 1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}