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 Scripting reference and how to use it
    • Sign in
    • +Working from home with PLAXIS
    • +Working from home with PLAXIS LE
    • -PLAXIS | SOILVISION Wiki
      • +Geotechnical SELECT Entitlements [GSE]
      • -PLAXIS
        • PLAXIS CONNECT Edition and legacy versions
        • +License - PLAXIS
        • +PLAXIS Software downloads
        • +Release Notes PLAXIS 2D and PLAXIS 3D
        • +Manuals - PLAXIS
        • -API / Python scripting - PLAXIS
          • How to install additional Python modules in PLAXIS
          • Access to Staged Construction settings using Python
          • Automatic line cross-section chart generation using Python
          • Changing the material colour using Python scripting
          • Combined plate results in one chart using Python
          • Create custom connection with selection API
          • How to create a tunnel using Python
          • How to get a load - displacement curve using Scripting interface
          • Identify Python commands from Plaxis command line
          • Material lists in PLAXIS – Python
          • 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
          • 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
          • Adding functionality to PLAXIS Calculation Manager: pre- and post-processing
          • Remove invalid custom connections for PLAXIS 3D
          • Automatically generated cross-sections of embankments
        • +Downloads - PLAXIS
        • +Known issues - PLAXIS
        • +Models - PLAXIS
        • +Publications
        • +Tips and Tricks
        • +Tutorials - PLAXIS
        • +Verifications - PLAXIS
        • +Videos - PLAXIS
      • +PLAXIS LE
      • +PLAXIS Monopile Designer
      • +SOILVISION
      • +Subscription Entitlement Service

    You are currently reviewing an older revision of this page.

    • History View current version

    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]

    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