Hi guys,
I'm trying to open the scripting reference or python interpreter in Plaxis (both 2D and 3D). But I got error message
and then my plaxis would just show
.
Any one could figure out what is it? I've used python scripting before with plaxis…
Hi, is it possible to define a strength parameter (such as cohesion and friction angle) as a function of the deviatoric strains?
There are two acceptable options:
1. The parameters are updated along with the strains during the analyses.
2. The parameters…
Hello, I need to use the Plaxis script to get the result but I have this error (No module plxscripting) in the script! I did below steps: 1- Activated remote scripting server 2- Started SciTE editor 3- Included boilerplate below: from plxscripting. easy…
Hello, I need to use the plaxis script to get the result but I have this error (No module plxscripting) in the script! I did below steps: 1- Activated remote scripting server 2- Started SciTE editor 3- Included boilerplate below: from plxscripting. easy…
Hi, how can I use the Python API to model tunnels? I'm already going crazy!
If I use the process of Tunnel Designer to code and model, the code will terminate when assigning material to the tunnel plate unit, and the error is' The plate unit does not…
I am trying to export plots for structural elements. In one case i prefer to have a distribution plottype instead of deformation. Setting the plottype from python does result in a correct command in the plaxis command lines, however nothing happens. Only…
Hello everyone,
I want to do pseudostatic analysis with Python scripting. However, I cannot find the right command to activate pseudostatic load as I would in Staged construction on the GUI. Does anyone know how to do this? I tried both set and setproperties…
Hello,
We are experiencing an issue while connecting to Plaxis 2D via gRPC.
Plaxis 2D is properly configured and the 10000 port is also set in the remote scripting service:
It seems the call to new() method is generating an exception in connection…
I wonder if it is possible to read outputs from plate elements only for the parts that are currently displayed in Output.
I have a model for a circular shaft in Plaxis3D for which I want to hide some parts of the plate sections. I am interested in reading…
Hi community,
I'm doing a looping that in each execution involves changing the phi (friction angle) and the c (cohesion). For every c and phi change, should I create a template?
Is this the only way? Because I need to get the values of phos and…
Hi all,
is there a way in Python to get whether an item is active in the phase?
purpose:
looping through the phases and read the data out of every interface/plate active in that phase.
something like:
for fase in g_o.Phases[:]:
for Interfa…
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.
Hello, I'm using plaxis scripting for this, but regardless, I'm searching for a way of joining or merging two adjacent polygons in Plaxis 2D. Is there such an option/function/command?
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…
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…
Hello,
I am working out the way to create an excavation with a complex soil layering in Plaxis 2D by means of python scripting.
The problem:
I have complex stratigraphy, non horizontal layers, many layers going diagonal within the zone of excavation…
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…
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…
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…
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.
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…
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…
Hello;
Actually, i have been wondering that;I ge the results for hgt like this :
Hgt=g_o.getresults(g_o.Phases[-1], g_o.ResultTypes.Soil.HydraulicGradientTot, 'node')
I could read the results on hgt but i could not set any result in the list like…