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:
Method Type: Core
Usage
model_id = rfem_app.create_model(name="new_model")
print(f"Model ID: {model_id}")
var modelId = await RfemApp.create_model(name: "new_model");
Console.WriteLine($"Model ID: {modelId}");
Output
Model ID:
guid: "9e09db41-3984-4219-9bf2-db5c87ebfede"