2719RE: Convenient method to reload dataset
- Sep 21, 2009
I have a button called “Refresh” in my Quick Macro Panel. The button runs a macro that does basically what you are asking, except it does not refresh the data until the user selects the button. To do this however, you cannot have memory mapped IO nor can you have any dependency to the file, so you cannot use load on demand either. If you are willing to part with these two functions, then you can run a macro like my refresh.
Note that the reason for lack of memory mapped IO is that the file is expected to change. Changing the file changes the mapping which can cause an application like Tecplot to crash. Instead, the OS prevents the user from modifying the file. The load on demand is similar in function. However, removing the load on demand function could cause Tecplot loading and reloading to take some time because the entire file has to be loaded.
If you are willing to put up with both of these, then you can try:
Name = "Refresh"
ShowInMacroPanel = True
To use this, simply save your plot in a layout file called refresh.lay. Then, pull up the QMP and select “Refresh” to update the plot.
- << Previous post in topic Next post in topic >>