::hwat::utils::ImportAndPositionWallBarriers - Imports and positions the wall barriers for 581 bumper testing.
ImportAndPositionWallBarriers URL translator barriername gap [jnode] [jheight] [vehiclename] [position] [angle] [scale] [offsets].
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}. |
1 if successful, {} otherwise.
::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.
This function assumes that the vehicle model has been imported.