calculate_all#
- dlubal.api.rstab.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 (dlubal.api.common.model_id_pb2.ModelId | None) – Unique identifier of the model.
- Return type:
OperationResult
Active model is used if this field is not set.
- Returns:
dlubal.api.common.common_messages_pb2.OperationResult
- Parameters:
skip_warnings (bool)
model_id (ModelId | None)
- Return type:
OperationResult
Calculates all load cases, combinations, and add-ons.
Example
from dlubal.api import rstab
with rstab.Application() as rstab_app:
rstab_app.open_model("model_path")
rstab_app.calculate_all(skip_warnings=True)
using rstab = Dlubal.Api.Rstab;
using Google.Protobuf;
public class cantilever
{
public static async Task CantileverModel(Application rstab_app)
{
await rstab_app.open_model("model_path");
await rstab_app.calculate_all(skip_warnings: true);
}
}