With PLAXIS 2D it is possible to load, calculate and save a PLAXIS 2D project via an MS-DOS command line. This can then be used in e.g ., BAT-files to launch multiple calculations.
With PLAXIS 2D and PLAXIS 3D, a fully working command line with a command runner is available, giving you the flexibility to run the application in an automated way.
To run an automated file after loading a PLAXIS 2D project ( *.p2dx), the format of the command line is:
"[PLAXIS 2D installation folder]\Plaxis2DXInput.exe" "[full path to Plaxis file]" "--run=[path to command file]"
Example:
"C:\Program Files\Bentley\Geotechnical\PLAXIS 2D CONNECT Edition V20\Plaxis2DxInput.exe" "D:\Projects\Project1A.p2dx" "--run=D:\Projects\calculateprojects.log"
In order to launch a command file after loading a PLAXIS 3D project, the format of the command line is:
"[PLAXIS 3D installation folder]\Plaxis3DInput.exe" "[full path to Plaxis file]" "--run=[path to command file]"
"C:\Program Files\Bentley\Geotechnical\PLAXIS 3D CONNECT Edition V20\Plaxis3DInput.exe" "D:\Projects\Project1A.P3D" "--run=D:\Projects\calculateprojects.log"
Please see also the detailed instructions with animation in the related posts about the command runner below.
This command line option will calculate the phases that are marked for calculation:
<installation folder>batch.exe [P2D-file-path] --c
This command line option will calculate all phases:
<installation folder>batch.exe [P2D-file-path] --c=all
Calculation manager
If the only intention is to run a few calculations, PLAXIS 2D also has a calculation manager available in the calculation program. This feature can be started via the menu item Calculate > Multiple Projects...
<installation folder>batch.exe [P2D-file-path] --c=on
Practical use of the commands runner
[Videos]
Practical use of the commands runner: using a batch file to run commands