set_base_data#
- dlubal.api.rfem.Application.set_base_data(self, *, base_data: BaseData | None = None, model_id: ModelId | None = None)#
Set the base data. This method updates the complete set of data for a particular model, including add-ons, standards, general and combinations settings, and other parameters.
- Parameters:
base_data (dlubal.api.rfem.base_data_pb2.BaseData | None)
model_id (dlubal.api.common.model_id_pb2.ModelId | None) – Unique identifier of the model.
If not specified, the active model is used.
Example
base_data = rfem_app.get_base_data()
base_data.addons.structure_stability_active = True
rfem_app.set_base_data(base_data)
var base_data = await rfem_app.get_base_data();
base_data.addons.structure_stability_active = True;
await rfem_app.set_base_data(base_data);