Show "connect objects button" on toolbar?

Show "connect objects button" on toolbar?

tee_hiett
Not applicable
1,421 Views
7 Replies
Message 1 of 8

Show "connect objects button" on toolbar?

tee_hiett
Not applicable

[ FlexSim 20.1.3 ]

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

Accepted solutions (1)
1,422 Views
7 Replies
Replies (7)
Message 2 of 8

Matthew_Gillespie
Autodesk
Autodesk

@Tee Hiett

Are you talking about these buttons? 33591-1603387868954.png



Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 3 of 8

tee_hiett
Not applicable

Yes, Those are the ones.

0 Likes
Message 4 of 8

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

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:

33601-1603398540479.pngInto the environment/usertoolbar node:

33602-1603398625209.png

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"))


Matthew Gillespie
FlexSim Software Developer

Message 5 of 8

tee_hiett
Not applicable

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
Message 6 of 8

ralf_gruber
Collaborator
Collaborator

@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

Message 7 of 8

Matthew_Gillespie
Autodesk
Autodesk

Yeah, or you can close and reopen FlexSim



Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 8 of 8

ralf_gruber
Collaborator
Collaborator

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