question

sharan-nitin avatar image
0 Likes"
sharan-nitin asked Jeanette F commented

How to open and run a FlexSim model using Python script?

Can someone upload .py script and flexsim model as demo? in urgent need of it.

FlexSim 23.0.0
pythonpython connection with flexsimpython connector
· 2
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
@sharan_nitin, you find a lot of examples to start a program from python scripts. You find a tutorial and a description to interact from FlexSim to python in manual and reference manual. And you can write results of a running model to a file, which you can read from a python script, too. Maybe, you are able to be precise what problems do you have?
1 Like 1 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @sharan-nitin, was Jeanette F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jeanette F avatar image
0 Likes"
Jeanette F answered

Hello @sharan_nitin,

You can check out our manual for more information and a link to a GitHub project called FlexSimPy, ControllingFlexSimExternally.

You can also search the forum for examples that others are implementing.

5 |100000

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