::hwat::utils::ScaleEntity

Scale the given entity.

Syntax

::hwat::utils::ScaleEntity idList type scaleX scaleY scaleZ nodeId.

Arguments

idList
The ID or list of IDs of the entity type to scale.
type
The type of the entity.
scaleX
The multiplication factor for the x coordinate.
scaleY
The multiplication factor for the y coordinate.
scaleZ
The multiplication factor for the z coordinate.
nodeID
The ID of the origin node.

Returns

Success
1
Failure
{}

Example

::hwat::utils::ScaleEntity [list 102 103 104] comps 2.0 1.0 1.0 1002.