calculate_specific#
- dlubal.api.rstab.Application.calculate_specific(self, *, loadings=None, skip_warnings, model_id=None)#
Performs a calculation for the specific objects. Returns result of the operation, description of the result and possibly additional information about an error.
- Parameters:
loadings (collections.abc.Iterable[dlubal.api.rstab.object_id_pb2.ObjectId] | None) – Unique identifier of the loading.
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:
loadings (Iterable[ObjectId] | None)
skip_warnings (bool)
model_id (ModelId | None)
- Return type:
OperationResult
Calculates specific load cases, combinations, and add-ons.
Example
rstab_app.calculate_specific(
loadings=[
rstab.ObjectId(
no=2,
object_type=rstab.OBJECT_TYPE_LOAD_COMBINATION
)
],
skip_warnings=True
)
await RstabApp.calculate_specific(
loadings: new List<Rstab.ObjectId>
{
new Rstab.ObjectId{
ObjectType = Rstab.ObjectType.ResultCombination,
No = 1
}
},
skipWarnings: false
);