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
If my *.vtp files are locally generated (on my workstation), does it mean that I have to upload the files to some location before I can use this method ?
I tried the following but it just shows the file selection dialog from the glance server
You cannot load local files (i.e. file: protocol urls) using this method. The files must be accessible over http(s) in order for remote data loading to work.
To expose your local files on the web, you can search for http server one liners such as in python python -m http.server or in js with npm install -g http-server; http-server;