Open Matthias776 opened 2 years ago
AttributeError: 'OMSimulator' object has no attribute 'getSubModelPath'
is raised when using
path, status = oms.getSubModelPath("component")
in Python
Version: Name: OMSimulator Version: 2.1.1.post125 Summary: OMSimulator - the FMI-based co-simulation environment for Python Home-page: http://openmodelica.org/ Author: Open Source Modelica Consortium (OSMC) Author-email: openmodelicadevelopers@ida.liu.se License: BSD, OSMC-PL 1.2, GPL (user's choice) Location: c:\users\demawei2\appdata\local\programs\python\python310\lib\site-packages Requires: requests Required-by:
OS: Win10, 64bit
@Matthias776 The API is not exported to Python interface, This is an internal API, But can be exported to python interface
AttributeError: 'OMSimulator' object has no attribute 'getSubModelPath'
is raised when using
path, status = oms.getSubModelPath("component")
in Python
Version: Name: OMSimulator Version: 2.1.1.post125 Summary: OMSimulator - the FMI-based co-simulation environment for Python Home-page: http://openmodelica.org/ Author: Open Source Modelica Consortium (OSMC) Author-email: openmodelicadevelopers@ida.liu.se License: BSD, OSMC-PL 1.2, GPL (user's choice) Location: c:\users\demawei2\appdata\local\programs\python\python310\lib\site-packages Requires: requests Required-by:
OS: Win10, 64bit