save_model#

dlubal.api.rstab.Application.save_model(self, *, model_id=None, path=None, results=None, printout_reports=None)#

Saves model specified by model id to optional specified path

Parameters:
  • model_id (ModelId | None) – Unique identifier of the model Active model is used if this field is not set.

  • path (str | None) – Path to the model

  • results (bool | None) – When enabled, the model is saved together with the calculated results

  • printout_reports (bool | None) – When enabled, the printout reports are saved

Method Type: Core


Usage

file_path = os.path.abspath('./model_no_results')
rstab_app.save_model(
    path=file_path,
    results=False
)