Hello,
I want to write a script that would open a saved state, select one of the
objects, and save data from that object as a VTI file series. I can do this
with the GUI, but it takes many hours to do this to each file and I have about
60 of them, so a script would be nice since I could loop
raview.org
Sent: Thursday, November 15, 2012 7:20:12 PM
Subject: [Paraview] help with a simple script?
Hello,
I want to write a script that would open a saved state, select one of the
objects, and save data from that object as a VTI file series. I can do this
with the GUI, but it takes many hour
te: Thu, 15 Nov 2012 19:22:24 -0500
> From: tim.gallag...@gatech.edu
> To: fuw...@hotmail.com
> CC: paraview@paraview.org
> Subject: Re: [Paraview] help with a simple script?
>
> Use the Paraview trace feature
> (http://paraview.org/Wiki/Python_GUI_Tools#Trace) in the GUI when you
nce and save that.
> >
> > Then it's easy to edit the resulting script to loop over the files you
> need.
> >
> > Tim
> >
> > - Original Message -
> > From: "Celia Bremer"
> > To: paraview@paraview.org
> > Sent: Thursda
this, both from Python shell in PV
and from pvpython, so I don't know why) or if it's something else. Thank you,
Celia
________
> Date: Fri, 16 Nov 2012 06:46:17 -0500
> Subject: Re: [Paraview] help with a simple script?
> From: sebastien.jourd...@kitwa
> from paraview import servermanager
> from paraview.simple import *
> servermanager.LoadState("test.pvsm")
SetActiveView(GetRenderView()) #you are missing this
> view = GetActiveView()
> view.ViewTime
>
___
Powered by www.kitware.com
Visit other Kitwa
close the window, or prevent it from opening in the first place?
Celia
> From: dave.dema...@kitware.com
> Date: Fri, 16 Nov 2012 10:52:45 -0500
> Subject: Re: [Paraview] help with a simple script?
> To: fuw...@hotmail.com
> CC: sebas
t; Celia
>
> ----
> > From: dave.dema...@kitware.com
> > Date: Fri, 16 Nov 2012 10:52:45 -0500
> > Subject: Re: [Paraview] help with a simple script?
> > To: fuw...@hotmail.com
> > CC: sebastien.jourd...@kitware.com; paravie
rd tab opens, and the content shows up in the third tab.
And so on. The names of these new tabs depend on the state file (above: 1 5 5,
it might be 3 1 3 3, or if I use an empty state file, then it's 1 1 1 1), so I
don't know what's the deal with that, but as long as I can clos
side), a third tab opens, and the
> content shows up in the third tab. And so on. The names of these new tabs
> depend on the state file (above: 1 5 5, it might be 3 1 3 3, or if I use an
> empty state file, then it's 1 1 1 1), so I don't know what's the deal with
>
anyone has suggestions...?) E.g. it says the syntax is UnRegisterProxy(self,
groupname, proxyname, aProxy), but there are only 3 arguments here -
pxm.UnRegisterProxy("layouts", layout[0], GetLayouts()[layout]). I also tried
Delete(layout) but I got unregistration error.
Celia
__
oogle, so if anyone has suggestions...?) E.g. it says the syntax
> is UnRegisterProxy(self, groupname, proxyname, aProxy), but there are only
> 3 arguments here - pxm.UnRegisterProxy("layouts", layout[0],
> GetLayouts()[layout]). I also tried Delete(layout) but I got unregistrati
extra
layout tab that opens when I load a state? Does this mean that you can't
replicate it? I tried it on another machine (it = making an empty state file on
that machine and then loading it from the shell) and I got exactly the same
behavior, the same extra tab and all.
Celia
__
Paraview crashes while executing the loop. I tried it on two computers multiple
times.
> Subject: Re: [Paraview] help with a simple script?
> From: sebastien.jourd...@kitware.com
> Date: Wed, 21 Nov 2012 08:33:40 -0500
> To: fuw...@hotmail
14 matches
Mail list logo