HyperWorks Tools

::hwat::utils::ImportAndPositionPendulums

::hwat::utils::ImportAndPositionPendulums

Previous topic Next topic No expanding text in this topic  

::hwat::utils::ImportAndPositionPendulums

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

NAME

::hwat::utils::ImportAndPositionOPendulums - Imports and positions the pendulums for 581 bumper testing.

 

SYNTAX

ImportAndPositionPendulums URL translator barriername gap barrierNode zBeam overlap [centerline] [type] [vehiclename] [position] [displacement] [angle] [reflect] [offsets].

 

ARGUMENTS

URL

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.

zbeam

The max z of the bumper beam for high centerline or the min z of the bumper beam for low centerline.

overlap

The z overlap for the high and low centerline.

centerline

Either "high" or "low" (default = "high").

type

Either "center", "outboard", or "corner" (default = "center").

center - Will be placed at the mid Y of the bumper.

outboard - Will be displaced from the mid Y of the bumper by a specified distance.

corner - Will be placed at the corner at a specified angle.

vehiclename

Optional.  The name of the vehicle assembly (default = VEHICLE).

position

Either front or rear (default = front).

displacement

The displacement of the pendulum from the mid Y of the bumper.  Required if the type is "outboard".  Negative means displaced to the left (default = 304.8).

angle

The angle in degrees from the x-axis.  Required if the type is corner (default = 0.0).

reflect

Reflect the barrier about the x-axis.  Either 0 or 1 (default = 0).

offsets

Optional.  The offsets to apply when importing the barrier.  (default = {}).  For example: {components 1000 assems 22}.

 

RETURNS

1 if successful, {} otherwise.

 

EXAMPLE

::hwat::utils::ImportAndPositionPendulums "D:/Hwat/barriers/pendulum.key" "D:/Altair/hm/bin/feinput/dynakey.exe"  "HWATBarrier" 10 12345 665.5 110 high outboard  "VEHICLE" front 304.8 0.0 1.

 

Comments

This function assumes that the model has been imported.

 

See also

Utils Functions