Following on from this question, I've been looking at the functionality to connect Flexsim to Python. Connecting to a module directly works as expected, however I'm having trouble utilizing solutions which are spread over multiple files.
I've uploaded a test.fsm file which has two functions linked to python.
-user command "Add" calls module "Summing" directly, and adds inputs as expected.
-user command "CallAdd" calls module "FlexsimPy", which call the same function as above. An error is thrown as the model cannot find the required command.
It would appear that commands cannot be imported between modules in this way. My solution is spread across a number of files, I'm looking for a workaround to this that does not require merging these together.