Phase settings configuration tool


Application PLAXIS 2D
PLAXIS 3D
Version PLAXIS 2D 2024.2 and later
PLAXIS 3D 2024.2 and later
Date created 07 April 2025
Date modified 07 April 2025
Original author Stefanos Papavasileiou - 
Technical Support Group
Keywords PLAXIS, automation, Python, scripting, API, py, cookbook, phases, settings

Introduction

In PLAXIS the large number of phases can make it challenging to configure multiple phase settings. Despite the option to view the phase configuration in a spreadsheet view (F12), the process of updating each setting is error prone and cumbersome.

Using Python, the whole process can become easy and without risking making any accidental mistakes.

phase_settings.png

Python solution

This Python script allows assigning multiple phase settings in PLAXIS Input according to user-specified properties. The list of available phase settings is customizable and ensures that only when applicable the available phase settings are updated.

This quick and error-proof process prepares your PLAXIS calculation according to your typical settings you may be using daily.

Assumptions

Instructions

  1. Download the zipped file containing the Python script
  2. Extract the zipped file in a local directory
    Or
  3. Extract the zipped file in a local directory and copy the phase_settings_configuration_tool.py file to:
    [PLAXIS 2D installation directory]\pytools\input
    Or
    [PLAXIS 3D installation directory]\pytools\input
  4. Make sure to adjust the boilerplate on line #39 (uncomment) and #41 (comment).
  5. In PLAXIS Input, open the project containing the geometry and phases
  6. In the Expert menu,
    go to Expert > Python > Editor..., open the phase_settings_configuration_tool.py and run it (F5)
    Or
    In the Expert menu, go to Expert > Run Python script > Open... browse for phase_settings_configuration_tool.py

Version

This script has been tested with PLAXIS 2D and 3D 2024.2 and Python 3.12.3.

Downloads

phase_settings_configuration_tool.py [Python compressed file]

See also