::hwat::utils::TranslateNodes

Translates the node(s) in the x, y, or z direction.

Syntax

::hwat::utils::TranslateNodes {List of nodes} Distance Xtranslation Ytranslation Ztranslation

Arguments

node
Tcl list of nodes.
Distance
The distance by which to translate the nodes.
Xtranslation
Magnitude to translate in the x direction.
Ytranslation
Magnitude to translate in the y direction.
Ztranslation
Magnitude to translate in the z direction.

Returns

Success
1
Failure
{}

Example

TranslateNode [list 1 2 3 ] 10 100 250 0