::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 distance between the barrier and the vehicle.
JNode
The ID of the JNode.
jheight
The true J height of the vehicle.
Default = 0.0.
vehiclename
The name of the vehicle assembly.
Default = VEHICLE
Optional.
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
The offsets to apply when importing the barrier.
Default = {}
For example, {components 1000 assems 22}
Optional.

Returns

Success
1
Failure
{}

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.