In my project, I have frames that I would like to read the current active index. I change the frame index using the onclick properties of a button, then change frame index. I need to do some logic based on which frame index is selected. Is there a way to read the current active index of a frame?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you are switching a frame based on the "Switch Frame Variable", then just use a variable that is accessible to your program to set your active frame.
If you're trying to see which is the active visualization, then use the "CurrentVisu" variable. Note you'll need to enable this by checking it on in the Visualization Manager settings.
If it's neither of those, you'll need to be more clear on how you're project is set up.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In my project, I have frames that I would like to read the current active index. I change the frame index using the onclick properties of a button, then change frame index. I need to do some logic based on which frame index is selected. Is there a way to read the current active index of a frame?
If you are switching a frame based on the "Switch Frame Variable", then just use a variable that is accessible to your program to set your active frame.
If you're trying to see which is the active visualization, then use the "CurrentVisu" variable. Note you'll need to enable this by checking it on in the Visualization Manager settings.
If it's neither of those, you'll need to be more clear on how you're project is set up.