Hello dear Dlubal team,
I have a method that reads the ErrorsAndWarningsTable after a failed calculation to obtain information.
For example, when calculating a model, error 10134 can be read out and provides information about the calculation status.
When I run the method with RFEM, everything works as expected.
However, if I calculate the same model with RFEMServer, the table remains empty.
In both cases, the calculation was faulty. Below are some screenshots showing the behavior.
Result with RFEMServer
Rows.Count = 0

Result with RFEM
Rows.Count = 36;

Line that causes the error:
Table result = Application.get_result_table(
table: ResultTable.ErrorsAndWarningsTable
).GetAwaiter().GetResult();
Complete method:
public RfemError[] GetCalculationErrors()
{
if (_operationResult.Succeeded)
{
return [];
}
Table result = Application.get_result_table(
table: ResultTable.ErrorsAndWarningsTable
).GetAwaiter().GetResult();
return result.Data.Rows.Select(row =>
{
// 10134 Stiffness matrix is singular
string errorCode = (string)row["error_or_warning_number"];
string description = (string)row["description"];
string analysisType = (string)row["analysis_type"];
return new RfemError(description, analysisType, errorCode);
}).ToArray();
}
Expected behavior:
- RFEMServer delivers the same result as RFEM with GUI
Actual behavior:
- The
ErrorAndWarningsTablecontains no entries
Info
RFEM version: 6.12.0009
Dlubal.Api version: 6.12.0009