question

Atsushi K avatar image
0 Likes"
Atsushi K asked tannerp answered

Run a FlexSim Model from command line in 19.1.1

https://answers.flexsim.com/questions/21116/automatically-configure-and-run-a-flexsim-model.html

I followed the above Q&A. But I couldn't run my script from command line.

Even if I used the simple model runflexsimmodelsilently.zip that is attached a reply, I couldn't. Is this feature exclusive only for licensed user?

FlexSim 19.1.1
command lineautomotiverun script
capture.png (120.5 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

tannerp avatar image tannerp commented ·

Hi @Atsushi K,

Did you try and open the 2016 model from Ben Wilson's example in FlexSim 19.1?

Also, where did you save your files? Are they in a zip file?

Perhaps you could upload what your command line looks like.

0 Likes 0 ·

1 Answer

·
tannerp avatar image
1 Like"
tannerp answered

I put the following in cmd and was able to run the example model in 19.1. Maybe double check to see that your directory paths are all correct.

"C:\Program Files\FlexSim 2019 Update 1\program\flexsim.exe" "C:\Users\myusername\Documents\FlexSim 2016 Projects\test.fsm" /maintenance nogui_disablemsg_runscript /scriptpath "C:\Users\myusername\Documents\FlexSim 2016 Projects\script.txt"
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Atsushi K avatar image Atsushi K commented ·

Thanks @Tanner Poulton,

Now I could see script running on Ben Wilson's example and my own model in 19.1. Unfortunately, I'm not sure what was a cause in the problem I had before. Thank you for your time.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.