[Paraview] ParaviewWeb - Python Script
Sebastien Jourdain
sebastien.jourdain at kitware.com
Wed Dec 30 13:18:27 EST 2015
Hi Ruggiero,
It is definitely possible with ParaViewWeb. Either you embedded your
initialization code within the Python Script that define the ParaViewWeb
server or you can extend the pv_web_visualizer.py one to add a new argument
which could be the path to the script you want to run at initialization
time and then you make sure you process that arg and run that script before
starting the Web server.
If you think that feature should be part of the Visualizer application,
then you can submit a pull request on our gitlab and assign me as reviewer.
Happy new year!
Seb
On Wed, Dec 30, 2015 at 9:35 AM, Ruggiero Guida <ruggiero.guida at gmail.com>
wrote:
> Hi,
>
> I use a Python script to run Paraview with predefined settings and
> automatically load files that are generated by an external application. At
> the moment I use the '--script' option so that the script is loaded when
> Paraview is launched.
>
> I would like to do something similar with ParaviewWeb. Is this possible?
> Do I need to modify one of the predefined examples directly to include this
> feature?
>
> Thanks and Happy New Year!
> Ruggiero
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151230/d2979841/attachment.html>
More information about the ParaView
mailing list