create_model#

dlubal.api.rfem.Application.create_model(self, *, name, template_path=None)#

Creates new model with the name specified in request. Returns model id of created model

Parameters:
  • name (str) – Name of the new model

  • template_path (str | None) – Path to the existing template to be opened

Returns:

ModelId

Method Type: Core


Usage

model_id: common.ModelId = rfem_app.create_model(
   name="new_model"
)
print(f"Created model GUID: {model_id.guid}")

Output

Created model GUID: "9e09db41-3984-4219-9bf2-db5c87ebfede"