open_model#

dlubal.api.rfem.Application.open_model(self, *, path: str) ModelId#

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:

dlubal.api.common.model_id_pb2.ModelId

with rfem.Application() as rfem_app:
    rfem_app.open_model(name='new_model')