PV Glance - default split window

Hi,

We are trying to use PV-Glance in our web app, we seems to be having hard time making it to open in 4 window split as default. Any help would be appreciated.

Thanks

Hi Ali,

Are you using a glance state file to load data in as well? If so, you can open the 4 views prior to saving your state file, and then load in that state file.

If you are embedding Glance directly, you probably want a programmatic way of accessing the vuex store, which will provide you with the quadView action that you can dispatch manually. If that is seems like the setup you need, then I can update Glance to expose the store, so you can call glance.store.dispatch("quadView").

Let me know which is the scenario that best fits your requirements.

Forrest,

Thank you so much for the quick response. Yes, we are actually embedding the app inside our Django app. So I suppose we have to do the vuex store option. Please let me know when you will be able to expose the store.

Thanks much.

The PR is here: https://github.com/Kitware/paraview-glance/pull/325

I’ll merge it once tests go green.

okay perfect. Thank you so much.