::hwat::utils::ImportAndPositionPendulums

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 distance 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"
"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.
Default = "center".
vehiclename
The name of the vehicle assembly.
Default = VEHICLE
Optional.
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
The offsets to apply when importing the barrier.
Default = {}
For example: {components 1000 assems 22}.
Optional.

Returns

Success
1
Failure
{}

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.