Hi everyone,
I’m trying to read Concrete-Design results from an RFEM 6 model via the new gRPC Python API (dlubal-api v 2.11.1, RFEM 6.11.0001).
- In the model Concrete Design is enabled and set up for two design situations on one surface.
- When I open the file in the GUI, in base data, add-ins concrete design is checked
- After the script runs I can check and there is valid concrete design results there
- My script calls
calculate_all(skip_warnings=True)after opening, so the design is executed in the current session.
Nevertheless every attempt to pull a Concrete-Design table through the API fails with
2025-07-14 22:35:48,983 - WARNING - Could not retrieve concrete design results: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "Invalid result location."
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"Invalid result location.", grpc_status:2, created_time:"2025-07-14T15:35:48.9539049+00:00"}"
>
and the returned DataFrames are empty:
Concrete Design Ratios By Surface Information:
DataFrame shape: (0, 0)
DataFrame columns: []
Below is the minimal code that reproduces the issue:
import logging
from dlubal.api import rfem
logging.basicConfig(level=logging.INFO, format="%(message)s")
logger = logging.getLogger(__name__)
api_key = "🔑"
model_path = r"..."
with rfem.Application(api_key_value=api_key) as app:
app.open_model(path=model_path)
base_data = app.get_base_data()
# not sure if I have to do this or not as the original model was created in Python
# and activate concrete_design add ons there and saved it, now just re-accessing it
# to test results extractions and save time
if not base_data.addons.concrete_design_active:
base_data.addons.concrete_design_active = True
app.set_base_data(base_data)
app.save_model()
app.calculate_all(skip_warnings=True)
try:
ratios_by_surf = app.get_results(
rfem.results.CONCRETE_DESIGN_SURFACES_DESIGN_RATIOS_BY_SURFACE
).data
check_details = app.get_results(
rfem.results.CONCRETE_DESIGN_DESIGN_CHECK_DETAILS
).data
ratios_elements = app.get_results(
rfem.results.CONCRETE_DESIGN_SURFACES_DESIGN_RATIOS
).data
logger.info("\nConcrete Design – Ratios by Surface")
logger.info(f"shape : {ratios_by_surf.shape}")
logger.info(f"columns : {list(ratios_by_surf.columns)}")
except Exception as e:
logger.warning(f"Could not retrieve concrete design results: {e!r}")
Environment
| Item | Version |
|---|---|
| RFEM | 6.11.0001 |
| dlubal-api | 2.11.1 |
| Python | 3.11.9 |
| OS | Windows 10 |
Also I purchased the Basic Subscription for the API so I have access to Access to all input data and results (ie add ins which from my understanding Free Subscription doesn't allow). That being said I can't see anywhere in my account apart from the paid invoice that specifies I have this tier? Not sure if that could be the issue?
Any ideas what I am doing wrong? I can sent my model file and full script if that helps :)
Any help appreciated—thanks!
Samuel