How to simplify GUI?

How to simplify GUI?

aa0976382405
Not applicable
20 Views
8 Replies
Message 1 of 9

How to simplify GUI?

aa0976382405
Not applicable

[ FlexSim 22.0.9 ]

Hello,

I have create a GUI, and I want to know if there is any method to simplify the GUI.

Below is my GUI:1670489782872.png

Each edit box correspond to a label in the processor. For example, the edit box after "PressRed: " correspond to the label called "pt" in the first red processor.

0 Likes
Accepted solutions (1)
21 Views
8 Replies
Replies (8)
Message 2 of 9

moehlmann_fe
Observer
Observer
In what way would you want to "simplify" the GUI? Easier setup?

For what purpose did you make the GUI. Do you want to change the processor labels before and/or during a model run or just show the current values?

0 Likes
Message 3 of 9

_94013_6912l
Not applicable
Maybe a pull-down menu?

Or any way can let the GUI not be one box to one processor.

I did the GUI is for those who are using flexsim for the first time. They can edit the parameters to what they want whenever before or during the model run

0 Likes
Message 4 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

You can have the list of presses in a group in the GUI and have the boxes update relative to the chosen press.

Have you considered having a CustomGUI which pops up for each press instead ? You link it to the press by setting the press's guifocusclass attribute to the path of your custom gui.

0 Likes
Message 5 of 9

aa0976382405
Not applicable

Are there any examples of doing this? Or can I find it in the user manual?

I know what are you saying but I don't know how to do that.

Thanks.

0 Likes
Message 6 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
There's a section on creating GUIs here, but I don't know of any tutorials. Have a look through that section - and if needed copy an existing gui as it suggests, to find out how it works.


0 Likes
Message 7 of 9

aa0976382405
Not applicable

I have one more question:

If I have two dashboard, can I use the "Button" with red frame move the view from Dashboard2 to Dashboard?

1671000600226.png

0 Likes
Message 8 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
treenode dashboards=node("/Tools/Dashboards", model());
applicationcommand("dashboard", dashboards.subnodes[1]);   //substitute 1 with the rank of the dashboard to which you want to switch
0 Likes
Message 9 of 9

andrew_o2
Not applicable

Hi @Ingrid Hung, was Jason Lightfoot'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 unaccept and comment back to reopen your question.

0 Likes