Hello Flexsim Support Team,
Post model execution, I am exporting the results to the database and excel and adding a "Simulation Completed" text in a result.txt file.
C:\Users\myusername> "C:\Program Files\FlexSim 2025\program\flexsim.exe" "C:\Users\myusername\Desktop\RunFile_MachineAssign\ProjectModel.fsm" /maintenance runscript /scriptpath "C:\Users\myusername\Desktop\RunFile_MachineAssign\script.txt"
I ran the model using above code from command prompt without "nogui_disablemsg " flag it worked.
But when I used the below code with nogui_disablemsg flag. it is not working.
C:\Users\myusername> "C:\Program Files\FlexSim 2025\program\flexsim.exe" "C:\Users\myusername\Desktop\RunFile_MachineAssign\ProjectModel.fsm" /maintenance nogui_disablemsg_runscript /scriptpath "C:\Users\myusername\Desktop\RunFile_MachineAssign\script.txt"
Could you please help me understand why it is not working? Is there anything wrong with the code above?
Thanks,
Yogesh