*alignnode
Aligns a node along the imaginary line between two other nodes.
Syntax
*alignnode end_node1 end_node2 node
Type
HyperMesh Tcl Modify
Description
Aligns a node along the imaginary line between two other nodes.
Inputs
- end_node1
- The ID of the first end node.
- end_node2
- The ID of the second end node.
- node
- The ID of the node to align.
Examples
To align node 100 between nodes 200 and 300:
*alignnode 200 300 100
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}