set_base_data#
- dlubal.api.rstab.Application.set_base_data(self, *, base_data=None, model_id=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.rstab.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 = rstab_app.get_base_data()
base_data.addons.structure_stability_active = True
rstab_app.set_base_data(base_data)
var base_data = await rstab_app.get_base_data();
base_data.addons.structure_stability_active = True;
await rstab_app.set_base_data(base_data);