::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.
- vehiclename
- The name of the vehicle assembly.
- position
- Either front or rear.
- angle
- The angle in degrees from the x-axis.
- scale
-
- 1
- Scale in y and z direction
- 2
- Scale in z direction
- offsets
- The offsets to apply when importing the barrier.
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.