[Paraview] python to change reader filename and animate AVS files

David Fuentes fuentesdt at gmail.com
Fri Oct 17 12:50:04 EDT 2008




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






More information about the ParaView mailing list