::hwat::utils::ImportAndPositionSideBarriers - Imports and positions the various side barriers.
ImportAndPositionSideBarriers barrierURL translator barrierName gap jNode kNode jHeightVehicle kHeightVehicle groundToBarrierDistance algorithm [frontAxleX] [rearAxleX] [leadingEdgeNode] [rPointId] [pitch] [vehicleAssem] [offsetsList]
BarrierURL |
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 J Node. |
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 = {}). e.g {components 1000 assems 22}. |
1 if successful, {} otherwise.
::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".
This function assumes that the vehicle model has been imported.