Hi !
I am running FlexSim silently with Python executing this command from @Ben Wilson :
- "C:\Program Files\FlexSim 2016\program\flexsim.exe"
- "C:\Users\username\Documents\Flexsim 16 Projects\test.fsm" /maintenance
- nogui_disablemsg_runscript /scriptpath C:\myscript.txt
Yet I would like to change the script, not in a file but directly in the command line, like this
EDIT:
- "C:\Program Files\FlexSim 2016\program\flexsim.exe"
- "C:\Users\username\Documents\Flexsim 16 Projects\test.fsm" /maintenance
- nogui_disablemsg_runscript 'resetmodel(); runspeed(10000); go();Table("tableName")[1][1] = 1;'
I tried several ways but it did not work and I cannot find the documentation for the command line interface execution of FlexSim. Is this possible ? This would make it easier for me as I'd just need to change input parameters of the model directly in Python instead of saving a temporary file for each simulation I want to run.