calculate_specific#

dlubal.api.rfem.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.rfem.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

rfem_app.calculate_specific(
    loadings=[
        rfem.ObjectId(
            no=2,
            object_type=rfem.OBJECT_TYPE_LOAD_COMBINATION
        )
    ],
    skip_warnings=True
)