::hwat::utils::ImportAndPositionRoofBarriers - Imports and positions the left or right platens for roof crush.
::hwat::utils::ImportAndPositionRoofBarriers URL translator barriername roofAssembly platenType platenNode roofNode systemId vehicleAssembly [offsets]
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 (default = VEHICLE). |
offsets |
The offsets to apply when importing the barrier (default = {}). e.g {components 1000 assems 22}. |
1 if successful, {} otherwise.
::hwat::utils::ImportAndPositionRoofBarriers "D:/Hwat/barriers/216barrier.key" "D:/Altair/hm/bin/feinput/dynakey.exe" "HWATBarrier" "Roof" left 100 233 9001 "VEHICLE".
This function assumes that the vehicle model has been imported.