Hey, I need to build my model in a specific folder for my program. I have no clue if this functionality already exists but I've modified OMPython for my purpose. Can someone tell me if there's a proper way and if there isn't, can we add this functionality to OMPython? Many thanks! Modification: -Added "customBuildDirectory=None" as an argument for ModelicaSystem -Added the following ModelicaSystem init: ``` if customBuildDirectory is not None: exp="".join(["cd(","\"",customBuildDirectory,"\"",")"]) self.getconn.sendExpression(exp) ```
Activity
arun3688 commentedon Mar 25, 2024
@kiroorooki the issue is fixed with this commit bdd04a3, please update your pip package with the following command
python -m pip install -U https://github.com/OpenModelica/OMPython/archive/master.zip