• set automatic values in Legend for OUTPUT using Plaxis Python

    Hi, I want to set automatic values in the legend for OUTPUT using Plaxis Python. I tried this: g_o.Plots[- 1 ].LegendSettings.MinValue.Automatic = True g_o.Plots[- 1 ].LegendSettings.MaxValue.Automatic = True it doesn't give any error, but also…
  • Support capacity evaluation of a tunnel lining in PLAXIS 2D

    Application PLAXIS 2D Version PLAXIS 2D CONNECT Edition V22 Update 1 and later Original Author Richard Witasse - Application Engineer Date created 01 November 2022 Date modified 01 November 2022 The project…
  • Python get Structual element by Name

    Hi, there is a script example to get the anchor forces out during several phases: Output scripting example: get anchor force - PLAXIS | SOILVISION Wiki - PLAXIS | SOILVISION - Bentley Communities the anchor is identified by its location (g_o.getresults…
  • Divergence between model in interface and api - PLAXIS LE

    Hi folks, I'm creating a model in the script and I wanted the same results from interface. I thought it might be a difference in the convergence settings, but it's not. The FOS is the same in both models, but the position of the slip surface is different…
  • PYTHON get the max displacement of a phase for the Legend setting in a plot

    Hi, how to get the max displacement of for a plot in python? I can get the SumMsf out of the Reached method for each phase, how ever no displacement value is stored there. I need that to set the max value of the legend for the displacement plot…
  • python pandas

    Hello, Since I am working with plaxis connect my python scripts which use pandas are not working anymore. I followed the steps in this thread, without success. https://communities.bentley.com/products/geotech-analysis/w/wiki/51822/how-to-install…
  • Palxis remote scripting - "Einc" command does not work for Mohr-Coulomb soil model

    Dear Stefanos/team, I am using Plaxis 2D V21 Ultimate. I would like to input Young's Modulus Increment (Einc) through python remote scripting. However, It does not work. My script is as the following: -----------------------------------------…
  • create annotations in an output in plaxis2D by python

    Hi All, just a suggestion of improvement: it would be nice to be able to create and edit annotations for plots within python. Example: deformation plot and an annotation of the corresponding Msf value.
  • Optimize excavation calculation time for wall horizontal displacement criteria

    Application PLAXIS 2D PLAXIS 3D Version PLAXIS 2D CONNECT Edition V22 PLAXIS 3D CONNECT Edition V22 Date created 23 September 2022 Date modified 23 September 2022 Original author Hung Ho Manh - Bentley Technical Support…
  • Python Plaxis2D how to get the mesh node numbers

    Hi all, what is the command to get the mesh node numbers of a mesh in python? EDIT: Actually I was refering to the total mesh node number (quantity of nodes). It was my fault I expressed myself wrong. thanks.
  • Extract results over a chosen interface Python

    Hello, I'm trying to write a python script that will extract stress and displacement results from all nodes on a single chosen interface, but am having some trouble with getting results for the interface element, i've tried variations on the code…
  • Automated assigning of Loading to Rigid Body Reference points using Python

    Hi, I have a question which might have been already answered elsewhere but I couldn't find it. Basically I am trying to automate (using python) a load assignment procedure to a collection of rigid bodies (again which are multiple rigid bodies having…
  • volume element using python scripting in PLAXIS 3D

    How to make a 2d array for volume element using python scripting in PLAXIS 3D?
  • Running Plaxis from Pycharm

    Hi, Im trying to run my plaxis python code using Pycharm and as soon as the code reaches " import plxscripting.easy", Ill get ImportError: "ImportError: cannot import name 'MutableMapping' from 'collections' (C:\Users\Farbod\AppData\Local\Programs…
  • Changing Soil Material in Calculation Stages using python

    I have a list of Material Datasets saved in a List in Python (e.g. for unfactored Undrained materials the List is Unfac_Undr_MatSets ) . in the Staged Construction, I want to change the Material in each borehole volume from respective material in Drained…
  • Finding a BoreholePolygon with coordination with Python in Plaxis2D

    Hello, Is there any way to find a borehole polygon (made using boreholes) corresponding to some coordination? Basically I want to make the code below automated instead of having an specific name (i.e. BoreholePolygon_1_2 in this case) in it…
  • Hi, how can I find and then deactivate a BoreholePolygon with Python ?

    I need to do it with 2 BoreholePolygon that are always at the same coordinates but the total number of BoreholePolygon changes cause I launch several calculations.
  • Running Python code in Plaxis without GUI

    Hello, Is there any way to run a python code in Plaxis without having to go through the process of Expert -> Run Python Script --> etc.? (e.g. from windows command prompt or any other way) Cheers,
  • Error handling in Plaxis with Python

    Hello, I'm working on an automated model for designing simple retaining walls in Plaxis. The way the code works, is that it gradually increases the length of the retaining wall in a loop until a required FoS is achieved. However, if the length…
  • Command automation for older versions

    I know Python can be used for the newer versions. Is there any way to automate the modeling, settings, and calculation process for Plaxis 8.6?
  • Plaxis Python API - Change parameters of soil materials

    Hi, I am trying to change the soil parameters of a soil already present in the Plaxis Model using Python and V22 (new material database). How do you have to address the parameter in order to change the value? For example, if I try to change E50Ref…
  • python get file name of current plaxis file

    Hi, is there a command for getting the current file name of the project in Python? thanks
  • Reaction force in 2D

    What is the Python code to calculate the reaction Fy in a 2D model? I could not find it in the reference.
  • load - displacement curve for prescribed displacement deformation

    I found the article that talks about (How to get a load - displacement curve using Scripting interface). It was useful and I tried it, and it worked smoothly with Python. Now, the problem I have is different from the one given in the example in the…
  • Python, DeformCalcType of Phases in Input and Output

    Hi, I am using python to iterate through phases. there are phases using the plastic calculation and fases using the safety calculation. for the input side: for phase in g_i.Phases[:]: if phase.DeformCalcType == phase.DeformCalcType.safety: print…