Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
PLAXIS | SOILVISION
  • Product Communities
  • More
PLAXIS | SOILVISION
PLAXIS | SOILVISION Wiki User defined Python script (3D): Extract displacements by coordinates
    • Sign in
    • -Geotechnical Analysis Wiki
      • +Geotechnical SELECT Entitlements [GSE]
      • -PLAXIS
        • +Software and License - PLAXIS
        • +Documentation - PLAXIS
        • -API / Python scripting - PLAXIS
          • Access to Staged Construction settings using Python
          • Adding functionality to PLAXIS Calculation Manager: pre- and post-processing
          • Automatic line cross-section chart generation using Python
          • Automatically generated cross-sections of embankments
          • Changing the material colour using Python scripting
          • Combined plate results in one chart using Python
          • Create custom connection with selection API
          • Export and format plots from PLAXIS Output using Python
          • How to create a tunnel using Python
          • How to get a load - displacement curve using Scripting interface
          • How to install additional Python modules in PLAXIS
          • How to open and close a PLAXIS project with Python
          • How to retrieve results from PLAXIS Output by the node number
          • Identify Python commands from Plaxis command line
          • Material lists in PLAXIS – Python
          • Material Property changes for Python scripting
          • Output scripting example: create curve data
          • Output scripting example: get anchor force
          • Output scripting example: get heave of excavation bottom
          • Output scripting example: get maximum bending moment
          • Polycurves to Polygons in PLAXIS 2D using Python
          • Receive instant notifications for finished calculations on your phone
          • Remove invalid custom connections for PLAXIS 3D
          • Retrieve coordinates of a Polygon in PLAXIS 2D using Python
          • Retrieving soil layer info from boreholes using Python
          • Scripting reference and how to use it
          • Selection API for PLAXIS Input
          • Soil layer material assignment using Python
          • Tunnel advancement script for PLAXIS 3D
          • User defined Python script (3D): Extract displacements by coordinates
        • +Known issues - PLAXIS
        • +Models - PLAXIS
        • +Tips and Tricks
        • +Publications
        • +Videos - PLAXIS
      • +PLAXIS LE
      • +PLAXIS Monopile Designer
      • +SOILVISION
      • +Subscription Entitlement Service
    • +Working from home with PLAXIS
    • +Working from home with PLAXIS LE

     
     Questions about this article, topic, or product? Click here. 

    User defined Python script (3D): Extract displacements by coordinates

    Application PLAXIS 3D
    Version PLAXIS 3D AE
    Date created 31 August 2016
    Date modified 31 August 2016

    Description

    A small Python script was written to obtain deformation results using the Remote scripting features in the PLAXIS 3D AE Output program. The results are retrieved using Output’s getsingleresult command for a set of coordinates written in a text file. The retrieved results are stored in a separate text file.

    This Python script was written for PLAXIS 3D AE in combination with Python 3.4.x

    Instructions

    1. Make sure PLAXIS 3D Output is running with a VIP licence;
    2. Write a text file with points' coordinates to retrieve the data for;
    3. Launch the Remote server on PLAXIS 3D Output on port 10001 (look for outputport variable);
    4. Run the Python script to retrieve the deformations;
    5. Point to the correct text file for the points' coordinates;
    6. The results are then stored in a text file with this content per line:
        phasename  pointname  ux  uy  uz  
    7. This text file is ready to copy & paste to Microsoft Excel or any other spreadsheet program

    Developer

    Filippo Forlani

    Contact

    Filippo Forlani
    SGAI srl, ITALY
    www.sgai.net
    email: filfor @ gmail.com
    Twitter @FilippoForlani

    Licence

    This Python script is licenced under GNU GPL 3.0

    Disclaimer: This Python script is made available as a service to Plaxis users to be used in combination with a VIP licence. However, Plaxis does not accept any responsibility when using this Python script in combination with Plaxis. Hence, the user needs to validate results obtained from this script by him/herself. Plaxis does not provide support on the use of this Python script.

    Downloads

    • UDPy extract U.py.txt
    • deformation
    • output
    • PLAXIS 3D
    • python
    • API
    • py cookbook
    • User-defined
    • results
    • deformations
    • PLAXIS
    • UDPy
    • cookbook
    • python cookbook
    • Share
    • History
    • More
    • Cancel
    • Micha van der Sloot Created by Bentley Colleague Micha van der Sloot
    • When: Mon, Dec 23 2019 7:06 AM
    • Stefanos Papavasileiou Last revision by Bentley Colleague Stefanos Papavasileiou
    • When: Tue, Feb 15 2022 6:10 AM
    • Revisions: 3
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies