*nodemarkbypath

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

Syntax

*nodemarkbypath node_id1 node_id2 mark_id

Type

HyperMesh Tcl Modify Command

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.
mark_id
The ID of the node mark to populate. Valid values are 1 and 2.

Example

To determine the path between nodes 100 and 110:

*nodemarkbypath 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
}