We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f29551f commit d07bd42Copy full SHA for d07bd42
OMPython/ModelicaSystem.py
@@ -1669,7 +1669,7 @@ def convertFmu2Mo(
1669
raise ModelicaSystemError(f"Missing FMU file: {fmu_path.as_posix()}")
1670
1671
filename = self._requestApi(apiName='importFMU', entity=fmu_path.as_posix())
1672
- filepath = self._session.omcpath(filename)
+ filepath = self.getWorkDirectory() / filename
1673
1674
# report proper error message
1675
if not filepath.is_file():
0 commit comments