::hwat::utils::ImportAndPositionRoofBarriers
Imports and positions the left or right platens for roof crush.
Syntax
::hwat::utils::ImportAndPositionRoofBarriers URL translator barriername roofAssembly platenType platenNode roofNode systemId vehicleAssembly [offsets]
Arguments
- URL
- The path (URL) to the barrier.
- translator
- The path to the import translator.
- barrierName
- The name of the barrier.
- roofAssembly
- The name of the roof assembly.
- platenType
- Either left or right.
- platenNode
- The ID of the platen positioning node.
- roofNode
- The ID of the roof node at which to place the platen.
- systemId
- The ID of the platen system.
- vehicleAssem
- The name of the vehicle assembly.
- offsets
- The offsets to apply when importing the barrier.
Returns
- Success
- 1
- Failure
- {}
Example
::hwat::utils::ImportAndPositionRoofBarriers "D:/Hwat/barriers/216barrier.key" "D:/Altair/hm/bin/feinput/dynakey.exe" "HWATBarrier" "Roof" left 100 233 9001 "VEHICLE".
Comments
This function assumes that the vehicle model has been imported.