THM-MoTE / mope-server

Server process for Modelica | Editor
https://thm-mote.github.io//projects/mope
GNU General Public License v3.0
9 stars 0 forks source link

Add possibility to set OMC arguments via API #21

Open CSchoel opened 3 years ago

CSchoel commented 3 years ago

There are many command line arguments for the OMC that can be set using setCommandLineOptions(string) from the OpenModelica scripting API. For some projects it is definitely desirable to be able to set these parameters (e.g. for unit checking with --unitChecking or for using the new OpenModelica frontend with -d=newInst,nfAPI.

Alternatively or additionally, we might even want to open up our API to allow users to send arbitrary commands to the OMC.