Launch PLAXIS 2D calculations via DOS commands


ApplicationPLAXIS 2D
VersionPLAXIS 2D 2010
Date created11 October 2012
Date modified11 October 2012

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.

PLAXIS 2D and PLAXIS 3D

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.

PLAXIS 2D

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"

PLAXIS 3D

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]"

Example:

"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.

PLAXIS 2D 2011, 2D 2012 and 2D Classic

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...

PLAXIS 2D 2010.01

 <installation folder>batch.exe [P2D-file-path] --c=on

See also