set_base_data#

dlubal.api.rsection.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 (BaseData | None)

  • model_id (ModelId | None) – Unique identifier of the model. If not specified, the active model is used.

Method Type: Core


Usage

base_data: rsection.BaseData  = rsection_app.get_base_data()

base_data.main.model_description = "cold_formed"
base_data.main.comment = "thin_walled"
base_data.main.analysis_method = rsection.BaseData.Main.ANALYSIS_METHOD_THIN_WALLED
base_data.addons.has_effective_section_properties_active = True
base_data.standards.effective_section_standard = rsection.BaseData.Standards.EFFECTIVE_SECTION_STANDARD_EN_1993_1_3_COLD_FORMED

rsection_app.set_base_data(base_data=base_data)