• 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…
  • Python output, missing result

    Hi guys, I tried to use Python scripts to select a node and want to retract the Utot of this node for all steps and phases. Here is how I selected the node output_port = g_i.selectmeshpoints() s_o, g_o = new_server('localhost', output_port, password…
  • 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…
  • Export plates plot with python

    I'm trying to export plates plots with python. Someone knows how to scale plates forces graph? Thank you
  • help with command Structuralforcesplot

    I am trying to save and export plot of different forces and displacement for a plate. Should I use this function Structuralforcesplot? or am I mistaken? Which function should I use to generate contour plots of a pile cap modelled using a plate?
  • Plaxis LE coordinates of all slip surfaces

    Dear Sirs, I use Python scripts to connect with Plaxis LE 2D, and all the calculations are performed without problems. But when I want to get the results of all slip surfaces I encounter a problem because only the FOS and a maximum depth are given.…
  • Error in getting results of soiltest in python scripting

    I want to get the q、ε、Pexcess after soil test ,but got the following error when the Python script ran. code: from plxscripting.easy import* s_t, g_t = new_server('localhost', 10001, password='19961217') def triaxial(cellpressure,E50,Eoed,Eur): g_t…
  • Speed Up Python Script in PLAXIS 3D

    Hi, I am working on a python script for the random field analysis in PLAXIS 3D. I have one nested loop to read the random field parameters from a spreadsheet and assign them to desired spatial locations, however, it takes a couple of hours to finish…
  • 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.
  • Output reading Plaxis 3D embedded beams with Python

    Dear all, This is my first time asking a question here, but I have trouble creating a output script for my files to automate the reading of several of the resultant forces. The output is now made with the following script (see below). The problem…
  • 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…
  • Python codes

    Hello, I would like to know if there are possibilities to start python codes from other libraries like Spyder for example, or should I always open Expert > Pyhton > Editor... from PLAXIS to start my codes?
  • Python scripting: PLAXIS 3D output performance

    Dear PLAXIS support team, I have a question regarding the performance of Output 3D (version 21.01.00.479) while I am trying to extract data via Python scripting. This is related to a 3D dynamic calculation. The function that I am using is rather…
  • Python Script: extrude multiple surfaces to volumes

    Hi, I am trying to use Python script in Plaxis to automate my work and I am stuck with extruding multiple surfaces to volumes: here is my code: for i in range (1000 ): g_i.extrude((g_i.Polygon_i), 0 , 0 , 1 ) the error message: AttributeError…
  • Example Script at Coffee Corner: Geotechnical Analysis - More Efficient PLAXIS Usage with Python API

    Hello Will you share the script in the webinar ? communities.bentley.com/.../coffee-corner-geotechnical-analysis---more-efficient-plaxis-usage-with-python-api---am-and-pm-sessions-available Can we download and use it? Thank you
  • 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…
  • How can I set the slip surface on Plaxis LE to non circular?

    I´m trying to create a model with non circular sufaces on Plaxis LE using the API, but every time I keep getting circular surfaces even if I set on the method noncircular as True. Ex. analysis = SingleAnalysis2D(CuckooSearch(100, True), False)
  • 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…
  • Changing properties of multiple connections with Python

    Hi, How can I change connection properties of multiple connections using a loop? For e.g. I can change property of a single connection as : g_i.Connection_1.Translation1 = "Free" Thank you in advance, Kind regards, Omkar.
  • Python API, SumMstage by step, slow

    Hi, I run the below python code to get output for graphs. The lines to get the SumMstage is very slow commpared to the getcurveresults. Can I please get some tips for how to speed up acquiring the step by step SumMstage? Thanks, Regards, Ole mstage =…
  • Issues with python; Attribute Errors

    When I run my script, I get the error Traceback (most recent call last): File "pythontest.py", line 60, in <module> trenchpg.setmaterial (trenchsoil) File "C:\ProgramData\Bentley\Geotechnical\PLAXIS Python Distribution V1 Update 1\python\lib\site-packages…
  • 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…