::hwat::utils::ImportAndPositionSideBarriers

Imports and positions the various side barriers.

Syntax

ImportAndPositionSideBarriers barrierURL translator barrierName gap jNode kNode jHeightVehicle kHeightVehicle groundToBarrierDistance algorithm [frontAxleX] [rearAxleX] [leadingEdgeNode] [rPointId] [pitch] [vehicleAssem] [offsetsList]

Arguments

BarrierURL
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.
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 FMVSS214 or EURO or IIHS.
frontAxleX
The x coordinate of the front axle required for FMVSS214 and IIHS
Default = ""
rearAxleX
The x coordinate of the rear axle required for FMVSS214 and IIHS.
Default = ""
leadingEdgeNode
The ID of the barrier leading edge node. Needed for FMVSS214 and IIHS.
Default = ""
rPointId
The ID of the SgRPx node required for EURO.
Default = ""
pitch
Flag for pitch.
1 -> apply pitch
0 -> don't apply
Default = 0
vehicleAssem
The name of the vehicle assembly.
Default = VEHICLE
offsetsList
The offsets to apply when importing the barrier.
Default = {}
For example, {components 1000 assems 22}

Returns

Success
1
Failure
{}

Example

::hwat::utils::ImportAndPositionSideBarriers "D:/TestModels/Barriers/Side.dyn" "D:/Altair/templates/feoutput/ls-dyna/dyna.key" "BARRIER" 10 6567 8790 100 150 200.0 IIHS 1618 4514 444611 {} 1 "VEHICLE".

Comments

This function assumes that the vehicle model has been imported.