Application#

The Application API is the core of the RSECTION API client, providing access to the main functionalities of the RSECTION application itself. It allows you to create and manage models, retrieve information about the application, and execute calculations. The API is designed to be user-friendly and efficient, enabling you to automate tasks and streamline your workflow.

Quick Start

The following example demonstrates how to quickly get started with the RSECTION API client by initializing the client and creating a new model.

from dlubal.api import rsection

   # Initialize and connect to RSECTION
   with rsection.Application() as rsection_app:
      # Retrieve application info
      app_info = rsection_app.get_application_info()
      print("Application Info: ", app_info)

      # Create a new model
      rsection_app.create_model(name="QuickStart_Model")
      print("Model created successfully.")

API Requests#