Browse By Tags

  • Configure Plaxis remote scripting server - Remote Plaxis service not available

    Hi! I'm trying to run Plaxis through Python for a Monte-Carlo analysis for my thesis project. At the university I've managed to get the remote scripting sever up and running in Plaxis 2D, but at the office, where I have Plaxis 3D the "Remote Plaxis…
  • How to open and close a PLAXIS project with Python

    Application PLAXIS 2D PLAXIS 3D Version CONNECT Edition V20 and later Date created 15 February 2022 Date modified 24 August 2022 Original author Stefanos Papavasileiou - Bentley Technical Support Group When…
  • Activating material using Plaxis Python API

    I´m developing a Python script to automate the simulation a dam construction, but I´m having trouble to activate the layers (polygons) on each phase. Does anyone know how to do it?
  • Line segment missing in Plaxis Python interface

    When requesting the Line input objects via the Python interface, I noticed that it returns a segmented line, not the single line that you put in through the GUI. Is it possible to get the Python interface to return the single line that you put in yourself…
  • Python commands and variables names

    Hello everybody, I'm trying to programm a simple Plaxis routine to run my model and generate results such as deviatoric stress vs axial strain, pore pressure vs axial strain, among others. The thing is that i cannot find where those names are. I…
  • On the use of different constitutive models in data assimilation for slope stability

    Application PLAXIS 2D Version PLAXIS 2D Original Title On the use of different constitutive models in data assimilation for slope stability Original Author M. Mohsan, P.J. Vardon, F.C. Vossepoel Publication year 2021…
  • How to code /output in python?

    How can I code the following lines in Python for Plaxis 2D (2018)? Thank you. _selectmeshpoints /output addcurvepoint "Node" (1.4 0.0)
  • Export and format plots from PLAXIS Output using Python

    Application PLAXIS 2D PLAXIS 3D Version PLAXIS 2D CONNECT Edition PLAXIS 3D CONNECT Edition Date created 01 September 2021 Date modified 24 November 2022 Introduction The PLAXIS Output program offers the possibility…
  • Cant press "Go" in SciTE

    I can't press the option "Go" (F5) in SCitE under "Tools". I've changed the language to Python. Also, when saving as "Save as", the only option to save the file as is blank. Any thoughts on why? I have the PLAXIS 2D V20 Update 4 Edition. I thought…
  • How to retrieve results from PLAXIS Output by the node number

    Application PLAXIS 2D PLAXIS 3D Version PLAXIS 2D CONNECT Edition V21 PLAXIS 3D CONNECT Edition V21 Date created 30 July 2021 Date modified 30 July 2021 Description In this article, a simple example is provided…
  • Connection refused error when using python API

    Getting the following error for no apparent reason right at the start of the program. Gets fixed by restarting but would like to know the root cause why.
  • Plastic points in Python

    Hi, Does anyone know how to change the following Plaxis 2D 2019 Output command line code to Python code - getresults Phase_1 ResultTypes.Soil.PlasticPointTypeText "Stresspoint" I'm trying to export the plastic point data data for a large amount…
  • Accessing excel worksheet via Plaxis scripting

    Hi, I am running a sensitivity analysis for an excavation after demolition of an existing structure. The analysis includes a number of pile elements and plate elements. The pile locations are updated by sometimes a 0.5m or so. Now, with Plaxis Input…
  • No module named 'plxscripting'

    Hi there, I'm trying to run a python script with PLAXIS 2D with IDLE and SciTE, but I get the following error: Traceback (most recent call last): File "D:/PLX_IDLE.py", line 4, in <module> from plxscripting.easy import * ModuleNotFoundError: No module…
  • How to set name of user water level in python API?

    waterlevel_s = g_i .waterlevel(( -50 , self . WaterLevelLeft ), ( 0 , self . WaterLevelLeft )) I have a water level as can be seen above. I would like to give it a name so I can retrieve it later. I have tried " waterlevel_s.Name = "WL_Left_" + self…
  • What order should g_i.embeddedbeammat() for embedded beam row properties be?

    I have the following line g_i .embeddedbeammat(( "MaterialName" , deadman_material_name ),( "E" , deadman_E ), ("Width", deadman_width),( "w" , deadman_unit_weight ),( "PredefinedBeamType" , 2 ),( "Lspacing" , deadman_spacing ),( "SkinResistance"…
  • How to prevent two polygons from merging as same soil/material in python API? Seems that when you add a different polygon on top of an already existing polygon, Plaxis automatically assigns a soil material of the polygon underneath?

    As further description to the title, it seems in the python API when you add a polygon on top of an already existing soil polygon, when you run a gotostages or gotoflows function, the soil/material assigned to the smaller polygon (yellow below) in the…
  • How to get results for total stress on an interface in python PLAXIS api.

    I'm at the stage where I think it is g_o.ResultTypes.TotalStress possibly or g_o.ResultTypes.Plate.TotalStress. Not sure what the command will be exactly.
  • Automatically generated cross-sections of embankments

    Application PLAXIS 2D Version PLAXIS 2D CONNECT Edition V20 Date created 08 February 2021 Date modified 08 February 2021 Introduction A road embankment is usually a long structure and lies on non-homogeneous subsoil…
  • Embankment Modelling and Auto-generated 2D Sections in PLAXIS, 09 Feb 2021 SIG Workshop - Geotechnical Analysis

    Title: SIG Workshop: Geotechnical Analysis - Embankment Modelling and Auto-generated 2D Sections Date/Time: February 09, 2021 at 10:00 A.M. CET and again at 04:00 P.M. CET Presenters: Dr. Hung Ho Manh , Technical Support Engineer, II, Geotechnical, Bentley…
  • Scripting (Python/SciTE) to gather results in PLAXIS 2D

    Hello! Im trying to use scripting (Python/SciTE) to gather the SF or maximum displacements in PLAXIS 2D. Any suggestions on how to gather the results? (This will be a part in a parameter optimization study)
  • Displacement criteria for stopping a calculation

    Hi, Is there a way to define a criteria for automatically stopping a calculation in Plaxis2D/3D, for example stop the calculation if utot at NodeX > 1m? If not, this would be an extremely useful feature to have either as part of the scripting interface…
  • Adding functionality to PLAXIS Calculation Manager: pre- and post-processing

    Application PLAXIS 2D PLAXIS 3D Version PLAXIS 2D CONNECT Edition V20 Update 3 PLAXIS 3D CONNECT Edition V20 Update 3 Date created 15 December 2020 Date modified 15 December 2020 General The Calculation manager tool…
  • Could not find module plxscripting

    Using visual studio 2019 and added a new python environment with the path "C:\ProgramData\Bentley\Geotechnical\PLAXIS Python Distribution\01.00\python". The plxscripting folder exists within the Lib folder but does not appear on the list of imported packages…
  • Delete multiple lines with Python

    Hello. I'm new at Python and want to delete multiple lines in Plaxis 2D with Python. The lines between Line_11 and Line_20 that I want to delete. I tried a few codes like below, but I couldn't successfully. For kk in range (11,21): lines= "g_i…