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 a6cc8f2 commit 88c6244Copy full SHA for 88c6244
OMPython/ModelicaSystem.py
@@ -468,10 +468,10 @@ def __init__(
468
if build:
469
self.buildModel(variableFilter)
470
471
- def setCommandLineOptions(self, commandLineOptions: Optional[str] = None):
472
- # set commandLineOptions if provided by users
473
- if commandLineOptions is None:
474
- return
+ def setCommandLineOptions(self, commandLineOptions: str):
+ """
+ Set the provided command line option via OMC setCommandLineOptions().
475
exp = f'setCommandLineOptions("{commandLineOptions}")'
476
self.sendExpression(exp)
477
0 commit comments