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:

ModelId

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}")

Output

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