Dummy Positioning Tool Start Macro

Use this macro to position dummies.

Once the template is loaded, you will be asked to create a process instance or open an existing process instance. After this step, you could see a task tree defining the process of dummy positioning in Engineering Solutions. You can then traverse through these tasks and position the dummy. Once the dummy is positioned, this position can be saved as a transformation file and can be later applied to the dummy to bring it into this final position without user interaction. The following tasks are listed in the process tree for dummy positioning.
Table 1.
Task Name Action
Configure Process: Select either Interactive positioning or Automatic positioning. Depending on the selection, the process tree will change.
Interactive Positioning LoadDummy You are asked for the PAM-CRASH 2G dummy and the positioner file. When the PAM-CRASH 2G dummy is loaded in Engineering Solutions, the pampostohm tool is automatically started and the dummy is prepared for positioning. System collectors, systems, and assemblies are created and nodes are associated with the systems.
LoadNoDummyFiles Imports other parts of the model, which may be required in order to position the dummy correctly.
SelectJoints Opens the Dummy panel and displays a list of joints in the model, and allows you to select a joint for viewing the load curves associated with that joint. You can select which curves (x,y,z) should be shown, the updatePlot utility shows the current position of the joint on the load curve by drawing a vertical line. The deletePlot utility deletes the plots created by this tool. If you exit this task without deleting plots, you would need to do that in the delete panel afterwards.
Note: Only the plots will be deleted, none of the load curves will be deleted from the database.
CreateTransformation Once finished with the positioning of the dummy, you can save this information into a transformation file.
CreateDocumentation Update the model documentation as well as create HTML documentation of the process. You can also select an image to be embedded in the HTML file. A browser can also be selected to display the HTML file. An .h3d file is also embedded into the HTML documentation.
ExportFiles Save the model as an Engineering Solutions database as well as in PAM-CRASH 2G format. While exporting in PAM-CRASH 2G format, you have the choice of specifying whether you want to delete the additional entities created by the dummy positioning tool.
Automatic Positioning: LoadOnlyDummy Same as LoadDummy.
ExecuteTransformation Select a transformation file, which will be executed automatically to position the dummy.
Documentation Same as CreateDocumentation.
ExportDummy Same as ExportFiles.
The same transformation file could be applied to different dummies, provided the tree structure remains same.

Materials Supported for Dummy Positioning in PAM-CRASH 2G

For the computation of the minimum and maximum angle for the rotation in each direction, the PAM-CRASH 2G materials 220 and 221 are implemented.

Stop Angle Implementation

Normally, the stop angles are given by load curves. The second and last curve points are used to determine the stop angle. If a load curve has less than four entries, the first and the last entries are used. You can find the implementation of the stop angle in the HM_JOINT_INFO function in the function template of the PAM-CRASH 2G Interface. If load curves are not defined for a joint, default values for stop angles ( -270°C to +270°C ) will be displayed in the Dummy Positioning panel.

Update Initial Rotation Angle in the JOINT Card

The initial rotation angles in the JOINT cards are updated automatically.

To update them, use the macro Update Jt Angles on the Tool page.