HyperWorks Tools

::hwat::utils::ImportAndPositionWallBarriers

::hwat::utils::ImportAndPositionWallBarriers

Previous topic Next topic No expanding text in this topic  

::hwat::utils::ImportAndPositionWallBarriers

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

NAME

::hwat::utils::ImportAndPositionWallBarriers - Imports and positions the wall barriers for 581 bumper testing.

 

SYNTAX

ImportAndPositionWallBarriers URL translator barriername gap [jnode] [jheight]  [vehiclename] [position] [angle] [scale] [offsets].

 

ARGUMENTS

URL

The path (URL) to the barrier.

translator

The path to the import translator.

barriername

The name of the barrier.

gap

The gap between the barrier and the vehicle.

jnode

The ID of the Jnode (default = 0).

jheight

The true J height of the vehicle (default = 0.0).

vehiclename

Optional.  The name of the vehicle assembly (default = VEHICLE).

position

Either front or rear (default = front).

angle

The angle in degrees from the x-axis (default = 0.0).

scale

1 - scale in y and z direction

2 - scale in z direction

(default = 0, no scaling).

offsets

Optional.  The offsets to apply when importing the barrier.

(default = {}).  For example: {components 1000 assems 22}.

 

RETURNS

1 if successful, {} otherwise.

 

EXAMPLE

::hwat::utils::ImportAndPositionWallBarriers "D:/Hwat/barriers/barrier.key" "D:/Altair/hm/bin/feinput/dynakey.exe"  "HWATBarrier" 10 0 0.0 "VEHICLE" front 30.0 0.

 

Comments

This function assumes that the vehicle model has been imported.

 

See also

Utils Functions