HyperWorks Tools

::hwat::core::AlignPassengerDummyAlongZAxis

::hwat::core::AlignPassengerDummyAlongZAxis

Previous topic Next topic No expanding text in this topic  

::hwat::core::AlignPassengerDummyAlongZAxis

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

NAME

::hwat::core::AlignPassengerDummyAlongZAxis - Translates the PASSENGER dummy along the z axis and aligns its head or chest with the max z of the module, as required.

 

SYNTAX

AlignPassengerDummyAlongZAxis dummySystemId ModuleMaxZ option [headNode] [chestNode].

 

ARGUMENTS

dummySystemId

The id of the dummy root system.

ModuleMaxZ

The max z coordinate of the module returned by the FindAirBagDimensions function.

option

Either 1 or 2

1 - Head on module.

2 - Chest on module.

headNode

The id of the head node.  Required only for option 1. (default = "")

chestNode

The id of the chest node.  Required only for option 2. (default == "")

 

RETURNS

1 if successful, {} if unsuccessful.

 

EXAMPLE

::hwat::core::AlignPassengerDummyAlongZAxis 1234 1578.99 1 2132

 

Comments

Required for OOP dummy positioning.

 

See also

Core Functions