::hwat::utils::ImportAndPositionOffsetBarrier
Imports and positions the offset barrier for frontal crash.
Syntax
::hwat::utils::ImportAndPositionOffsetBarrier URL translator n_overwrite barriername gap jnode jheight d_value [groundToBarrierDistance] [vehiclename] [flag] [offsets]
Arguments
- URL
 - The path (URL) to the barrier.
 - translator
 - The path to the import translator.
 - n_overwrite
 - 1 = overwrite entities (default)
 - 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.
 - JHeightVehicle
 - The true J height of the vehicle.
 - d_value
 - The value for the overlap or offset option.
 - d_groundToBarrierDistance
 - The distance from the ground to the base of the barrier.
 - vehiclename
 - The name of the vehicle assembly.
 - [str_flag]
 - Either "offset" or "overlap"
- Overlap
 - 0 has no useful meaning since the barrier and vehicle would not impact each other.
 - Offset
 - 0% means that the barrier and vehicle center lines line up.
 
 - offsets
 - The offsets to apply when importing the barrier.
 
Returns
- Success
 - 1
 - Failure
 - {}
 
Example
::hwat::utils::ImportAndPositionOffsetBarrier "D:/Hwat/barriers/208barrier.key" "D:/Altair/hm/bin/feinput/dynakey.exe"  "HWATBarrier" 10 9882 100 –40 250.0 "MODEL1" overlap.
        Comments
Implements the OFFSET algorithm.