::hwat::utils::TranslateEntity

Translates the entity (list of entity IDs) in the x, y, or z direction.

Syntax

TranslateEntity entityList type Xtranslation Ytranslation Ztranslation

Arguments

entityList
A Tcl list of entity IDs.
type
The type of the entity.
Xtranslation
X vector of translation.
Ytranslation
Y vector of translation.
Ztranslation
Z vector of translation.

Returns

Success
1
Failure
{}

Example

TranslateEntity [list 1 2 3 4 5 ] comps 100 250 0