HyperWorks Tools

::hwat::utils::ImportAndPositionRoofBarriers

::hwat::utils::ImportAndPositionRoofBarriers

Previous topic Next topic No expanding text in this topic  

::hwat::utils::ImportAndPositionRoofBarriers

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::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 (default = VEHICLE).

offsets

The offsets to apply when importing the barrier (default = {}).

e.g {components 1000 assems 22}.

 

RETURNS

1 if successful, {} otherwise.

 

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.

 

See also

Utils Functions