[Paraview] Paraview: python script from the command line
Rick Angelini
rick.angelini at us.army.mil
Fri Mar 26 13:44:28 EDT 2010
Utkarsh - this also works well under some circumstances, but leave it to
the customers to figure out how to break it. If we startup paraview:
paraview --server=Host --script=myscript.py
And "Host" is a reverse-connection, the python script executes locally
without waiting for the remote server to start up.
Utkarsh Ayachit wrote:
>
> I've added a new --script option to specify python script to be run on
> startup.
>
> Utkarsh
>
> On Fri, Mar 19, 2010 at 3:49 PM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
> > That's a reasonable request. We don't have such an option currently.
> > Let me see if I can add it before 3.8.
> >
> > Utkarsh
> >
> > On Fri, Mar 19, 2010 at 3:42 PM, Rick Angelini
> > <rick.angelini at us.army.mil> wrote:
> >> Is there a way to startup paraview and have it run a python script
> from the
> >> command line? I know that I can load a state with the "--state" flag.
> >> And, I can run a python script from within ParaView by going to
> the python
> >> tool and running the script. As far as I can tell, I'm limited to
> >> running the python script after ParaView GUI starts up. It would
> be nice
> >> to be able to load that same script from the command line.
> >> _______________________________________________
> >> 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
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.paraview.org/mailman/listinfo/paraview
> >>
> >
>
More information about the ParaView
mailing list