question

Anderson Maia avatar image
0 Likes"
Anderson Maia asked Jason Lightfoot commented

Difficulty installing Flexsimpy

Hello everyone, I have been trying to use FlexSimPy based on "README" but I have not been successful. I would like to confirm whether my steps are correct and where I am failing.


1) Set up a FlexSim development environment as described in the module SDK documentation.


Do I need to follow the entire guide or just the "Preparing for Module Development" topic?

In "Add a node at VIEW:/environment/dev" there is no "dev", do I need to create and assign the value as in the image below?

1697052778206.png


3) Open the FlexSimPy.sln solution in visual studio.


When trying to open the FlexSimPy.sln file in MS Visual Studio and trying to run it, I have several failures related to the debugger. How exactly should this be done?

I apologize if my questions are very basic, but I didn't find topics that explain in a more direct way how to do it.

FlexSim 23.2.0
modulesflexsimpyvisual studio
1697052778206.png (27.0 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Anderson Maia, was Kavika 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

Kavika F avatar image
0 Likes"
Kavika F answered

Hey @Anderson Maia, I can try to help you with your setup.

1) You should add a new "dev" node and assign it a number value of 1. I recommend you follow the steps in the "Preparing for Module Development". The subsections within it are just additional information if you wanted to create your on Module and add it to FlexSim.

3) You shouldn't need to "run" the .sln - you simply want to build it using the build menu. Ensure that you have the solution that you want:

1697137416557.png

Then in the build menu, select "Build Solution".

1697137466409.png

This will output the libraries and files you need to either make your own customized FlexSimPy module or to make a customized PythonConnector.


1697137416557.png (16.4 KiB)
1697137466409.png (36.4 KiB)
5 |100000

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