A new developer/preview PrePoMax version v2.1.7 has been released

To do some automation, PrePoMax can be run from the command line using the -r switch.

Let’s assume the user prepared a “test.pmx” file where a geometry file “geom.step” is imported, meshed, and analyzed, and some results are post-processed and exported to “results.csv” file using a results history exporter. Now, the user can change the geometry and repeat all the PrePoMax commands automatically.

The new geometry must first be created and saved in the file with the same name as when the .pmx file was created (“geometry.step”). Then, the .pmx file and all files imported while creating the .pmx file (“geometry.step”) must be copied into one folder. For example, “C:\Temp”. Then, using the command line (cmd), the folder should be changed to the folder containing all files (“C:\Temp”) and the command:

C:\path to PrePoMax folder\PrePoMax.exe -r test.pmx

can be used to rerun all commands saved in the .pmx file with the new geometry and create a new “results.csv” file with updated results. The GUI is shown by default to check for errors and can be hidden using the -g switch. If debugging is needed, closing PrePoMax at the end of regeneration can be prevented by using the -x switch.

C:\path to PrePoMax folder\PrePoMax.exe -r test.pmx -g No

2 Likes