I have made a graphical user interface by python. Like the JPG below. And I also create a module for FlexSim called pythonGUI. Like the JPG below. But how to import the GUI into FlexSim confused me.
I have made a graphical user interface by python. Like the JPG below. And I also create a module for FlexSim called pythonGUI. Like the JPG below. But how to import the GUI into FlexSim confused me.
Your python GUI is an application running in its own process with its own message loop (line 15 of your code).
FlexSim is a GUI application running in its own process with its own message loop.
If you want to communicate between application processes, you need to implement inter-process communication code within your application and FlexSim that can communicate with each other. For example, you can use sockets:
how to use flexsim socket communication with server and client - FlexSim Community
socket — Low-level networking interface — Python 3.10.0 documentation
You cannot simply "import the GUI into FlexSim." Your "GUI" is an entirely different application written in Python.
15 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved