*dummyplacerootbodytopoint

Moves a dummy from a source point to a target point.

Syntax

*dummyplacerootbodytopoint name sx sy sz tx ty tz tolerance

Type

HyperMesh Tcl Modify

Description

Moves a dummy from a source point to a target point.

The mechanism must have the enabled flag set to true for this to be possible.

Inputs

name
The name of the root body of the dummy.
sx
The x-coordinate of the source point. This is usually the x-coordinate of the H-Point of the dummy.
sy
The y-coordinate of the source point. This is usually the y-coordinate of the H-Point of the dummy.
sz
The z-coordinate of the source point. This is usually the z-coordinate of the H-Point of the dummy.
tx
The x-coordinate of the target point.
ty
The y-coordinate of the target point.
tz
The z-coordinate of the target point.
tolerance
The tolerance allowed during the placement.

Example

To move a dummy with root body named "Pelvis Angle Gauge" from (0,0,0) to (150,100,200):

*dummyplacerootbodytopoint "Pelvis Angle Gauge" 0 0 0 150 100 200 0.001

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

14.0.120