question

MR avatar image
0 Likes"
MR asked Andrew O commented

How to simplify GUI?

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.

FlexSim 22.0.9
gui
1670489782872.png (235.0 KiB)
· 3
5 |100000

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

Felix Möhlmann avatar image Felix Möhlmann commented ·
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 0 ·
J avatar image J Felix Möhlmann commented ·
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 0 ·
Andrew O avatar image Andrew O commented ·

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 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

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.

· 4
5 |100000

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

MR avatar image MR commented ·

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 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ MR commented ·
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 0 ·
MR avatar image MR Jason Lightfoot ♦ commented ·

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 0 ·
1671000600226.png (29.5 KiB)
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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