calculate_all#
- dlubal.api.rsection.Application.calculate_all(self, *, skip_warnings, model_id=None)#
- Performs a full calculation for all objects. Returns result of the operation, description of the result and possibly additional information about an error. - Parameters:
- skip_warnings (bool) – Specifies whether to skip warnings during the calculation. 
- model_id (ModelId | None) – Unique identifier of the model. Active model is used if this field is not set. 
 
- Returns:
 
Method Type: Core
Usage
from dlubal.api import rsection
with rsection.Application() as rsection_app:
    rsection_app.open_model("model_path")
    calc_info = rsection_app.calculate_all(skip_warnings=True)
    print(f"\nCalculation Info:\n{calc_info}")
using rsection = Dlubal.Api.Rsection;
using Google.Protobuf;
ApplicationClient? rsection_app = null;
rsection_app = new ApplicationClient();
await rsection_app.open_model("model_path");
await rsection_app.calculate_all(skip_warnings: true);
Output:
Calculation Info:
succeeded: true
data: ""
message: ""