::hwat::utils::ImportAndPositionRearBarriers
Imports and positions the various rear barriers.
Syntax
::hwat::utils::ImportAndPositionSideBarriers barrierURL translator barrierName gap jNode kNode jHeightVehicle kHeightVehicle groundToBarrierDistance algorithm [value] [flag] [angle] [strikeNodeId] [strikerNodeId [vehicleAssem] [offsetsList].
Arguments
- barrierURL
 - The path (URL) to the barrier.
 - translator
 - The path to the import translator.
 - barrierName
 - Name to give the barrier. Finite barriers will be named barriername.0, barriername.1, etc.
 - gap
 - The distance between the barrier and the vehicle.
 - JNode
 - The ID of the JNode.
 - kNode
 - The ID of the K Node.
 - JHeightVehicle
 - The true J height of the vehicle.
 - kHeightVehicle
 - The true K height of the vehicle.
 - groundToBarrierDistance
 - The distance from the ground to the base of the barrier.
 - algorithm
 - Either REAR or OBLIQUE.
 - value
 - The value for the overlap or offset option required for REAR.
 - flag
 - Either "offset" or "overlap"; required
                            for REAR. 
- 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.
 
 - angle
 - The angle to rotate the barrier.
 - strikeNodeId
 - The ID of the strike node.
 - strikerNodeId
 - 
                            
The ID of the striker node.
 - vehicleAssem
 - The name of the vehicle assembly.
 - offsetsList
 - The offsets to apply when importing the barrier.
 
Returns
- Success
 - 1
 - Failure
 - {}
 
Example
::hwat::utils::ImportAndPositionRearBarriers "D:/TestModels/Barriers/Rear.dyn" "D:/Altair/templates/feoutput/ls-dyna/dyna.key" "BARRIER" 10 6567 8790 100 150 200.0 REAR -20 offset {} {} {} "VEHICLE".
        Comments
This function assumes that the vehicle model has been imported.