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 Remove invalid custom connections for PLAXIS 3D
    • 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. 

    Remove invalid custom connections for PLAXIS 3D

    Application PLAXIS 3D
    Version PLAXIS 3D CONNECT Edition V20
    Date created 13 October 2020
    Date modified 13 October 2020

    In PLAXIS 3D, a custom connection can be created in Staged construction mode between two plates or between a beam and a plate.

    However, it may happen that, due to different reasons mentioned below, the created custom connection is considered invalid and requires to be removed from the project before performing the calculation.

    Handling of invalid connections with a Python script

    In PLAXIS Input, a connection is considered invalid when:

    • The reference and the custom parts are not sharing any nodes (i.e. they have no common sides)
    • No interface is assigned to the surface with a plate representing the Reference part in the connection

    In case of an invalid connection an error message will appear when the Calculate button  is clicked:

    Figure1. Error feedback for an invalid custom connection

    When using the PLAXIS Remote scripting API with the Python wrapper, it is possible to automate the process of removing any invalid custom connections present in a project.

    The suggested Python script can perform the following actions on any invalid custom connection(s):

    • Identify them using the checkcalculationconditions command
    • Select them, in case changes need to be applied to the connection parts
    • Delete them using easygui Python module

    Usage instructions for Python script

    • Download the file (use Save As...).
    • Copy the connections_check.py file to this folder:
      <PLAXIS 3D installation folder>\pytools\input
    • By default, the installation folder for PLAXIS 3D is:
      C:\Program Files\Bentley\Geotechnical\PLAXIS 3D CONNECT Edition V20\
    • Open a PLAXIS 3D project that contains custom connections.
    • In the Expert menu, go to Python > Run Python tool. Here you should see the name of Python file.
    • When selecting it, the script will be executed, the invalid connections will be identified, will be selected in GUI and it will be possible to delete them.
    • When you do not have access rights to add the script in this folder, alternatively, you can choose to use Expert menu > Run Python script > Open... to manually open and run the file.

    Version

    The script is tested with PLAXIS 3D CONNECT Edition V20.04 with Python 3.7.4

    Downloads

    • [Python script] Connections check

    See also

    Custom connections

    [Videos]


    Create custom connection with selection API

    [Python Scripts]

    • PLAXIS 3D
    • python
    • API
    • py cookbook
    • Automation
    • Scripting
    • PLAXIS
    • Remote scripting
    • connection
    • Share
    • History
    • More
    • Cancel
    • Stefanos Papavasileiou Created by Bentley Colleague Stefanos Papavasileiou
    • When: Tue, Oct 13 2020 7:55 AM
    • Stefanos Papavasileiou Last revision by Bentley Colleague Stefanos Papavasileiou
    • When: Tue, Feb 15 2022 6:11 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