Application#

The Application API is the core of the RFEM API client, providing access to the main functionalities of the RFEM 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 RFEM API client by initializing the client and creating a new model.

from dlubal.api import rfem

   # Initialize and connect to RFEM
   with rfem.Application() as rfem_app:
      # Retrieve application info
      app_info = rfem_app.get_application_info()
      print("Application Info: ", app_info)

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

API Requests#