question

Jackie Ho avatar image
7 Likes"
Jackie Ho asked Phil BoBo commented

Automatically Configure and Run a FlexSim Model

excelimportcommand lineauto runonmodelopen
5 |100000

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

Jeff Nordgren avatar image
3 Likes"
Jeff Nordgren answered Ben Wilson edited

5 |100000

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

Ben Wilson avatar image
21 Likes"
Ben Wilson answered Phil BoBo commented

· 18
5 |100000

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

Bernard L2 avatar image Bernard L2 commented ·
1 Like 1 ·
Phil BoBo avatar image Phil BoBo ♦♦ Bernard L2 commented ·
3 Likes 3 ·
Alessio Merlo avatar image Alessio Merlo Phil BoBo ♦♦ commented ·
0 Likes 0 ·
Show more comments
Wang Z2 avatar image Wang Z2 commented ·
0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ Wang Z2 commented ·
0 Likes 0 ·
Erik RV2 avatar image Erik RV2 commented ·

Hi everyone!

As somebody tried to import from excel while launching the model from a shell?

To the files shared in this post, I tried adding this line:
excelmultitableimport();

to
'onModelReset' trigger and/or
'script.txt'

without constant success.

Thanks!

0 Likes 0 ·
tannerp avatar image tannerp Erik RV2 commented ·

@erik.rv2,

I suggest posting a new question (this one is answered and fairly outdated) and referencing this question with a link. It sounds like you're looking for guidance on automating an Excel import, which we're happy to help with.

1 Like 1 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Another command line parameter:

You can pass the command line parameter /excludemodules modulename1,modulename2,etc to exclude specific modules.

https://answers.flexsim.com/answers/95256/view.html

0 Likes 0 ·
Rafael B22 avatar image Rafael B22 commented ·

Ben,

How did you tell FlexSim to save the output into the "results.txt" file?

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Rafael B22 commented ·

The Sink's OnEntry trigger has code that writes the results.txt file using FlexScript commands:

1666368764445.png

0 Likes 0 ·
1666368764445.png (166.4 KiB)
Rafael B22 avatar image Rafael B22 Phil BoBo ♦♦ commented ·
Thanks a lot!
0 Likes 0 ·
Show more comments