PRIMER 22.1

N. Automated Model Build from Command Line

Appendix N: Automated Model Build from Command Line

PRIMER offers the ability to build multiple models from a csv input file.

The command line syntax is simply: BUILD READ filename.csv . This may be typed onto the command line of the PRIMER dialogue box or into a file which PRIMER reads in batch mode.

Each csv file contains a header line which determines the type of build and consequent format.

Currently the following types are supported:

DATABASE uses the database/template method as used by MODEL->BUILD function
IHI interior head impact
PEDHEAD pedestrian head impact
PEDHEAD_ANGLE pedestrian head impact with approach angle
PEDLEG_LOWER pedestrian lower leg impact
PEDLEG_UPPER pedestrian upper leg impact
PEDLEG_UPPER_2 pedestrian upper leg impact with explicit Z specification

And the following general formats:
GENERAL_TRANSLATE
GENERAL_TRANSLATE_PARAMETER
GENERAL_TRANSLATE_ROTATE
GENERAL_TRANSLATE_VECTOR
GENERAL_TRANSLATE_TRIAD

Here are examples of each type, with $comments included.