ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
Changing Values of Variables Dynamically
Hi,
I want to toggle the values of a variable being displayed on the screen and that should change the corresponding inputs for the model. I will try giving an example: Suppose a variable is defined to display the current year...and this variable has a pull down menu which can have different years we can choose from. Year 2012 has a total demand of 150 units, for example, which I am reading from a table. When I choose 2013 now from the pull down menu, the demand value needs to change to, say, 300 now. How to accomplish this? I am currently trying using a global variable and linking that to VisualTool. But, I need some help on this. Thanks. |
Thread | Thread Starter | Forum | Replies | Last Post |
how to get multi-return values of UserCommand? | Frans Zeng | Q&A | 2 | 08-19-2011 06:50 PM |
Random stream initial values | Sucharith Vanguri | Q&A | 12 | 03-10-2011 11:52 AM |
How to set table values by using GUI | Congshi Wang | Q&A | 6 | 05-20-2010 12:52 AM |
changing shape factor when changing 3d shape | KelvinHo | Q&A | 3 | 09-03-2009 08:24 AM |
Create a table with random values | Michael Hartlieb | Q&A | 7 | 08-05-2009 08:09 AM |