How can you get the active frame index from a frame

jkopicz
1 day ago
21 hours ago
  • jkopicz - 1 day ago

    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?

     
  • trusty-squire - 21 hours ago

    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.

     

Log in to post a comment.