*replacenodes_multiple

Replaces multiple nodes simultaneously.

Syntax

*replacenodes_multiple sourcelist targetlist ?equivalence? ?midpoint?

Type

HyperMesh Tcl Modify Command

Description

Replaces multiple nodes simultaneously.

Inputs

sourcelist
The list of source nodes.
targetlist
The list of target nodes.
equivalence
Enable node equivalencing.
0 – Off
1 – On (default)
midpoint
0 – Source nodes are moved to target nodes. (default)
1 – Source nodes and target nodes are placed at midpoint.

Examples

Replaces nodes ID 1, 2, 3, to nodes ID 4, 5, 6:
*createlist nodes 1 1 2 3
*createlist nodes 2 4 5 6
*replacenodes_multiple 1 2

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

2022.3