HyperWorks Tools

::hwat::utils::PositionDummyOnImport

::hwat::utils::PositionDummyOnImport

Previous topic Next topic No expanding text in this topic  

::hwat::utils::PositionDummyOnImport

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::hwat::utils::PositionDummyOnImport - Positions the dummy’s H-point at the required coordinates and, if required, rotates the dummy’s back angle by the given amount.

 

SYNTAX

PositionDummy rootSysId hPointX hPointY hPointZ [backangle] [xRot] [yRot] [zRot]

 

ARGUMENTS

rootSysId

The ID of the root system of the dummy.

hPointX

The x-coordinate of the final position of the H-point of the dummy.

hPointY

The y-coordinate of the final position of the H-point of the dummy.

hPointZ

The z-coordinate of the final position of the H-point of the dummy.

backangle

The angle to rotate the dummy about the y-axis after it has been positioned (default = 0.0).

xRot

The angle to rotate the dummy about the x-axis after import (default = 0.0).

yRot

The angle to rotate the dummy about the x-axis after import (default = 0.0).

zRot

The angle to rotate the dummy about the x-axis after import (default = 0.0).

 

RETURNS

1 if successful, {} otherwise.

 

EXAMPLE

::hwat::utils::PositionDummy 1234 3100 –370 500 10 0.0 0.0 180.0.

 

Comments

If the rotation angles are given, the order of the dummy rotation will be x, y, z.

 

See also

Utils Functions