Browse By Tags

  • 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…
  • 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.
  • 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…
  • 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…
  • 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,
  • 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.
  • 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…
  • List of all the boreholepolygones in the model using Python?

    Hello, How can I use python to see a list of all the boreholepolygones generated in Plaxis? Same question also applies to a list of all the user-defined water levels, loads, etc. Thank you very much
  • Using python to find the zone name based on the coordinates

    Hey everyone, Is there any way to find the exact name of the zone (e.g. boreholepolygon_1) using coordinates in python? Cheers,
  • CONNECTION Client user message causes problems on remote server.

    Beste support, Wij gebruiken Plaxis in de Connect Edition en hebben een aantal licenties voor het hele bedrijf om te delen. Deze licentie gebruiken wij ook op een server waar wij middels pyton code de software automatisch aansturen. Als er voldoende…
  • Problem with creating materials in command line

    Hi, I am creating materials using command line like this: _SOILMAT "Name" "Soilmat_Sand_1" "SoilModel" "Hardening Soil" "Identification" "5" "GAMMAUNSAT" 17.66 "GAMMASAT" 18.47 "EOEDREF" 10000.0 "E50Ref" 10000.0 "EURRef" 50000.0 "cRef" 10.0 "phi" 10…
  • how can ı do Monte carlo simulations fast in python

    Hello I m doing monte carlo simulations in python scripting to plaxis (2D V22 )for transient seepage analysis in embankment dams to find effect of permeabilty changes. I m using a workstaiton with 64gb ram and ssd harddisk. But analysis take one and…
  • How to do soil test in python

    I want to do soil test in python. I can only find Command in Help, but i can't find the python code.
  • drawing frame setting showing the ID

    i have been using the remote script for printing. yet, the drawing frame has been now only allowed to show the step no. may i ask is it possible to customize the drawing frame to show the ID ? which can show the phase name and phase no. for easy reference…
  • Plaxis Scripting - Pyside 2 Input Error

    Hello folks I am creating a gui-enabled script using Pyside2. My goal is to change the line length. The user will select the line to modify and enter the length. Selected_Line = self.Lines_QComboBox.currentText() #select the line Line_Length = float…
  • How to track a long calculation process in both Plaxis LE and 2D?

    Hello, We are using Plaxis LE/2D respective APIs to process calculations but sometimes they might require a good amount of time to process or can somethings enter into a non-convergence mode. That said, it would be nice to be able to track the calculation…
  • Why are the Plaxis' polygons object not in the exact order as they were generated?

    Hi there, I would like to ask you a question. Let say I created 10 polygons through a python environment, e.g.: "g_i.polygon( --insert coordinates here-- )". These polygons will be automatically named "Polygon_1", "Polygon_2", etc until "Polygon_10…
  • Python - ResultType and PlotType

    Hi, I am able to export the Output plot using Python code, per the guidance provided in this article. https://communities.bentley.com/products/geotech-analysis/w/plaxis-soilvision-wiki/45549/export-and-format-plots-from-plaxis-output I tried out…
  • PLAXIS 2D | Python Scripting | Geometry to JSON Converter Error

    Hello, I am trying to have multiple runs using Python scripts in PLAXIS 2D v.22. Analyses are performed smooth and well in the beginning. Nothing goes wrong, I take the desired outputs at the end of the analyses. However, after a certain time / number…