Nope. Python interface gives you the flexibility to change filenames. We assume that if you are using Python, you know what you are doing and you will not change the datatype during the iteration. Also, the FAQ is out-of-date. I will start rewriting it very soon.
-berk On Fri, Oct 17, 2008 at 2:35 PM, David Fuentes <[EMAIL PROTECTED]> wrote: > Thank you very much Berk, > > > Does this create any conflicts w/ information posted on the wiki? > > > http://paraview.org/Wiki/ParaView:FAQ#Why_can.27t_I_change_the_filename_on_my_reader_.3F > > > > df > > > > On Fri, 17 Oct 2008, Berk Geveci wrote: > >> What you need is something like: >> >> pm=servermanager.ProxyManager() >> femdata = pm.GetProxy("sources","femdata") >> for i in range(10): >> femdata.FileName = "foo%d.inp" % i >> servermanager.GetRenderView().StillRender() >> >> ParaView takes care of updating other objects for you. If you want to >> learn more, I suggest searching for "demand driven pipeline". The VTK >> book is a good source of information. >> >> -berk >> >> On Fri, Oct 17, 2008 at 12:50 PM, David Fuentes <[EMAIL PROTECTED]> >> wrote: >>> >>> >>> >>> Not sure if the AVS file reader is "time aware" but, >>> using the python interface it seems possible to write a script >>> to animate a time series of AVS files. Changing the reader filename via >>> the >>> python interface seems to work: >>> >>> >>> pm=servermanager.ProxyManager() >>> femdata = pm.GetProxy("sources","femdata") >>> femdata.SetPropertyWithName("FileName",".../new_filename.inp") >>> >>> >>> >>> To create an animation would probably have to update various >>> other objects attached to the reader though. >>> How could you determine all objects attached to the reader >>> that need to be updated? >>> >>> >>> using paraview 3.2.1, >>> df >>> >>> >>> >>> >>> _______________________________________________ >>> ParaView mailing list >>> [email protected] >>> http://www.paraview.org/mailman/listinfo/paraview >>> >> > _______________________________________________ ParaView mailing list [email protected] http://www.paraview.org/mailman/listinfo/paraview
