open_model#
- dlubal.api.rfem.Application.open_model(self, *, path)#
Opens model from path specified in ‘name’ field of the request Returns model id of opened model
- Parameters:
path (str) – Path to the existing model to be opened
- Returns:
Method Type: Core
Usage
model_id: common.ModelId = rfem_app.open_model(
path="C:/Users/my/Desktop/my_model.rf6"
)
print(f"Opened model GUID: {model_id.guid}")
Common.ModelId modelId = await rfemApp.open_model(
path: "C:/Users/my/Desktop/my_model.rf6"
);
Console.WriteLine($"Opened model GUID: {modelId.Guid}");
Output
Opened model GUID: "9e09db41-3984-4219-9bf2-db5c87ebfede"