Browse By Tags

  • How to create a tunnel using Python

    Application PLAXIS 2D PLAXIS 3D Version PLAXIS 2D 2023.2 PLAXIS 3D 2023.2 Date created 23 May 2017 Date modified 17 October 2023 Description The following article gives information on how to use the Remote scripting…
  • How to identify the material name of an object in Output using Python scripting

    Application PLAXIS 2D PLAXIS 3D Version PLAXIS 2D 2023.2 PLAXIS 3D 2023.2 Date created 21 September 2023 Date modified 21 September 2023 Original author Stefanos Papavasileiou - Bentley Technical Support Group …
  • Material Property changes for Python scripting

    Application PLAXIS 2D, PLAXIS 3D Version PLAXIS 2D CONNECT Edition V22 PLAXIS 3D CONNECT Edition V22 PLAXIS 2D 2023 PLAXIS 3D 2023 Date created May 25, 2022 Date modified Aug 29, 2023 This page gives an overview of…
  • There is no plxscripting module!

    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…
  • Select sub-interfaces with Python

    Hello there, I would like to know how do I select the sub-object of an object with Python? Let's say we have an interface called Interface_1, which intersects two different soils thus dividing the interface into Interface_1_1 and Interface_1_2. My doubt…
  • Is it possible to read out outputs for a selection of plate elements using getresults()?

    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…
  • Activate and deactivate elements with python

    Hello, I am building a python script that allows us to optimize piles length in Plaxis. I have a problem with the python command to activate or deactivate an element in an existing phase. You will find below the script and in red the command that…
  • How to iterate the parameter to plot while plotting from PLAXIS Output

    I am using the discussion here for reference: https://communities.bentley.com/products/geotech-analysis/w/wiki/55949/export-and-format-plots-from-plaxis-output-using-python I am trying to generate Top view of forces and displacement of plate among various…
  • 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…
  • 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…
  • 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?
  • 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…
  • 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…
  • 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…
  • 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 remote scripting problem - No module named 'encyption'

    Hi all I was trying to run a python script to define a P3D project - the P3D version is PLAXIS 3D CONNECT Edition V21 Update 1 - but I cannot successfully run it as indicated by the tutorial video https://communities.bentley.com/products/geotech-analysis…
  • 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…
  • Plaxis API Python

    Hi there, I'm trying to run a python script with PLAXIS 3D with PyCharm, but got errors: Traceback (most recent call last): File "C:\Users\Denis\Desktop\main.py", line 1, in <module> from plxscripting.easy import * File "C:\Users\Denis\AppData\Local…
  • 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…
  • Tunnel sequencing using python

    How to set TBM tunnel sequencing steps using python? in other words, I want to retrieve the step object to assign tunnel seqence. for example: g_i.deactivate(g_i.TCS_1_volume_1_1, ?????)
  • 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…
  • 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…
  • Extracting stresses from Python

    Hi, I try to extract stress from the python. The extracted results are different from the plots. soilS1 = g_o.getresults(g_o.Phases[- 1 ], g_o.ResultTypes.Soil.SigmaTotal1, 'node' ) . or sd1 = g_o.getsingleresult(g_o.Phases[-1], g_o.ResultTypes…
  • 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…