Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
GeoStudio | PLAXIS
  • Product Communities
GeoStudio | PLAXIS
GeoStudio | PLAXIS Wiki Scripting reference and how to use it
    • Sign In
    • -Geotechnical Analysis Wiki
      • +GeoStudio
      • -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
          • Damage assessment of adjacent buildings caused by excavations using the Burland's chart
          • 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 identify the material name of an object in Output using Python scripting
          • 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
          • Optimize excavation calculation time for wall horizontal displacement criteria
          • 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
          • Support capacity evaluation of a tunnel lining in PLAXIS 2D
          • 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 Monopile Designer
      • +PLAXIS LE
      • +SOILVISION
      • +Geotechnical SELECT Entitlements [GSE]
      • +Subscription Entitlement Service

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

    Scripting reference and how to use it

    Application PLAXIS 2D
    PLAXIS 3D
    Version PLAXIS 2D CONNECT Edition V20
    PLAXIS 3D CONNECT Edition V20
    Date created 05 November 2019
    Date modified 05 November 2019

    Since PLAXIS CONNECT Edition V20, extensive documentation is available regarding the Remote Scripting functionality. 
    This can be found under Help > Scripting reference menu: 

    scripting_reference_1


    The documentation is based on 
    Jupyter notebooks and requires the activation of the Remote scripting server. More information on the scripting server can be found in the article Using PLAXIS Remote scripting with the Python wrapper.

    The documentation is launched on a browser window and includes information and full examples of all available commands in PLAXIS Input & Output programs.

    Workflow explained

    In order to use the Scripting reference, you can follow the workflow below: 

    1. Identify command to run with Python scripting
       - use Graphic User Interface (GUI) or check the command line session
       - use Help > Command reference 
    2. Go to PLAXIS Input program (also for Output commands) 
    3. Open menu Help > Scripting reference 
    4. Set up the Configure remote scripting server window 
    5. Find the command for Input or Output in alphabetical order 
    6. Click on the command name (the example will open in new tab)
    7. ►| Run (cell by cell)
      or 
      select: Cell > Run All
    8. Jupyter notebook runs the example and provides the response(s) from Plaxis 
    9. Check PLAXIS Input/Output to see the example 

    scripting_reference_2

    Figure 1. Scripting reference Jupyter notebook

    scripting_reference_3

    Figure 2. Python example for command calculate

     

    For more information on Python Jupyter Notebooks, follow the link to: 
    https://jupyter-notebook.readthedocs.io/en/stable/

    See also

    Using PLAXIS Remote scripting with the Python wrapper [Tips and Tricks]


    Identify Python commands from Plaxis command line [Python Scripts]

    • jupyter
    • PLAXIS 3D
    • python
    • Command
    • API
    • commands
    • PLAXIS
    • cookbook
    • python cookbook
    • command_reference
    • PLAXIS 2D
    • notebook
    • Share
    • History
    • More
    • Cancel
    • Micha van der Sloot Created by Bentley Colleague Micha van der Sloot
    • When: Wed, Dec 18 2019 9:34 AM
    • Stefanos Papavasileiou Last revision by Bentley Colleague Stefanos Papavasileiou
    • When: Tue, Feb 15 2022 6:11 AM
    • Revisions: 4
    • 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

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