The short answer
With the Dlubal API, you control RFEM 6, RSTAB 9, and RSECTION through your own scripts. In CALC, you describe your task in plain language, and Mia carries it out for you. In principle, Mia can do whatever the API can do in RFEM. CALC itself cannot be operated through the API.
What do you use the Dlubal API for directly?
The most important difference: CALC is an AI assistant, and the Dlubal API is a programming interface. In CALC, you work in a conversation with Mia. You describe your task in plain language, as roughly or as precisely as you like, and Mia carries it out in RFEM or in the chat. With the API, you write a script yourself, for example in Python, and define every step in it. The script then does exactly the same thing on every run.
That is why the API is often a good fit for workflows that you repeat frequently, that need many runs, or that should run without you.
Variant studies are a typical case. For example, you generate a hall parametrically from span, frame spacing, and eaves height and calculate thirty variants one after another.
Automated evaluations are just as common. After each calculation, your script reads the governing internal forces and deformations and writes them to your own spreadsheet.
You can also integrate RFEM into your own programs, for example into a tool that generates models from order data.
These are only examples. Because you write the script yourself, you can also use the API to build highly individual workflows that fit your office and your projects exactly.
What do you use CALC for?
In CALC, you do not need any programming skills. Mia asks for missing information, carries out the steps in RFEM, and explains the result to you. This way you create a model, change loads or cross-sections, and read out results without writing a script yourself.
CALC goes beyond controlling RFEM. Mia runs design checks with Skills directly in CALC, answers technical questions from the Dlubal knowledge base with sources, explains design checks step by step, and creates PDF reports. For that, you need neither RFEM nor a script.
A Skill is a fixed workflow of input, calculation, design check, and PDF report. The range keeps growing, and starting with the Starter plan, you can create your own Skills from a chat.
Can Mia do everything the API can do?
Mia controls RFEM through Python scripts for the Dlubal API. In principle, Mia can therefore use whatever the API offers. The scope is limited by your RFEM license with the add-ons it includes and by your approvals for model changes.
The reverse does not apply: CALC cannot be controlled through the API. The Dlubal API operates RFEM, RSTAB, and RSECTION. The chat with Mia and individual Skills cannot be called through the API.
How the two complement each other
You do not have to choose one or the other. Mia also helps you when you want to work with the Dlubal API. She writes Python scripts for the API, explains them, and fixes them when something does not run as expected.
The script is yours. You can save it, adapt it, and run it yourself with the Dlubal API at any time.
Mia can also create a script for the Dlubal API from a model that is open in RFEM, in which you change key values as variables. The FAQ on a parametric script from an RFEM model explains how this works and what to watch for.
