question

Tee Hiett avatar image
1 Like"
Tee Hiett asked Ralf Gruber commented

Show "connect objects button" on toolbar?

If this button is still available in version 2.1.3, how do I get it to show in the toolbar?

FlexSim 20.1.3
flexsim 20.1.3healthcareconnect objects
· 2
5 |100000

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

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

@Tee Hiett

Are you talking about these buttons?

0 Likes 0 ·
1603387868954.png (3.6 KiB)
Tee Hiett avatar image Tee Hiett Matthew Gillespie ♦♦ commented ·

Yes, Those are the ones.

0 Likes 0 ·

1 Answer

·
Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Ralf Gruber commented

Those buttons only show in the standard environment. They were removed from the Healthcare environment because they are rarely used in an HC model and you can just hold down the "A" or "S" keys to make connections between objects if you really need to. So you could leave the Healthcare environment to use those buttons and then get back into the Healthcare environment after making object connections.

If you really want to add those buttons to your user toolbar you can copy those nodes in the tree, by copying this node:

Into the environment/usertoolbar node:

Or, alternatively you could open a script window and run this line of code:

createcopy(node("VIEW:/active/MainPanel/ToolPanel/ModePanel/Toolbar>items/Connect Objects"), node("VIEW:/environment/usertoolbar"))

1603398540479.png (16.3 KiB)
1603398625209.png (24.2 KiB)
· 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.

Ralf Gruber avatar image Ralf Gruber ♦ commented ·

@Matthew Gillespie,

I was looking for the same thing but found, that the user toolbar is not refreshed automatically. Is this the correct command to do so after adding the button in the tree:

refreshview(views().find("active/MainPanel/ToolPanel"));

I just wanted to add a button to the existing user tool bar in FlexSim Classic and the refresh made it show.

Thx

1 Like 1 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Ralf Gruber ♦ commented ·

Yeah, or you can close and reopen FlexSim

0 Likes 0 ·
Ralf Gruber avatar image Ralf Gruber ♦ Matthew Gillespie ♦♦ commented ·

The goal is to add a button on the fly with loading a model and not to have to close and reopen FlexSim. Thank you.

0 Likes 0 ·
Tee Hiett avatar image Tee Hiett commented ·

Thanks, @Matthew Gillespie


It seems reasonable to me to remove them from healthcare. I just wanted to make sure I wasn't missing anything since most of my work is done in the healthcare environment.

A special thanks for showing me how to add them in healthcare in case I decide to do that.

Have a great weekend.

0 Likes 0 ·

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.