Help with Paraview Glance: Opening file by passing the fileURL as argument

Hello,

I am am running Paraview Glance app based on instruction from github. I am using it as a simple viewer in my project. I want to know if there is any way to pass file as argument to viewer instead of using open dialog.

I was able to do something similar with Geometry Viewer as shown in documentation

https://kitware.github.io/vtk-js/examples/GeometryViewer/GeometryViewer.html?fileURL=https://data.kitware.com/api/v1/item/59de9de58d777f31ac641dc5/download

something like this: endPoint?fileURL=filePath

Is it possible to do with paraview glance?

Hi,

Yes you can load data remotely. Here’s an example: https://kitware.github.io/paraview-glance/app/?name=diskout.vtp&url=https://data.kitware.com/api/v1/item/59de9de58d777f31ac641dc5/download

I’ll update Glance’s documentation to reflect this.

1 Like

Check out the docs on file loading: https://kitware.github.io/paraview-glance/doc/loading_files.html

1 Like