question

Yue Y avatar image
0 Likes"
Yue Y asked Matthew Gillespie edited

Is it possible to add a global variable to the User library?

User commands and User Events can both be added to the User library, what about global variables? Is it possible to add a global variable to the User library as a auto-install component?

FlexSim 19.1.1
global variables
5 |100000

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

1 Answer

·
Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Matthew Gillespie edited

This is not currently a supported feature. Feel free to create an idea or submit a dev request to [email protected]. See How do I submit feature requests or bug reports?

If you're willing to put in a little work you could implement this functionality in your own user library by creating a user library object with a dropscript node that creates a global variable through code. You can read about how to do that here, as detailed here: https://docs.flexsim.com/en/19.1/Reference/DeveloperAdvancedUser/CustomLibraries/

5 |100000

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

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.