[Paraview] Read files in different folders at the same time

2017-09-07 Thread Ke Gao
wonder if there is a convenient way to animate all these 200 files in one setup, without copy them into the same folder? Thanks. -- .. Ke Gao

Re: [Paraview] How to read the file info in *pvd file

2017-11-15 Thread Ke Gao
Python > script? In the UI? > > On Wed, Nov 15, 2017 at 12:35 PM, Ke Gao <ke.gao...@gmail.com> wrote: > >> Hi, >> >> I mean how to get the file name info such as "Sout_1012.pvtu", >> "Sout_1013.pvtu". Currently I can only read the timestep

[Paraview] How to read the file info in *pvd file

2017-11-14 Thread Ke Gao
-- .. Ke Gao ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

[Paraview] Anaconda python Environment setup to use paraview python

2017-11-17 Thread Ke Gao
Hi, I'm using Anaconda python 2.7 to call paraview python library on RedHat Linux, every time I run "from paraview.simple import *" or '"from vtk import *", I will get a "Segmentation fault" error. Can anybody tell me what's wrong, and can you share your python path setup in .bashre file? My

[Paraview] Importing paraview.simple in external python environment

2017-11-11 Thread Ke Gao
Does anyone know how to setup Windows in order to use Paraview python library under external python environmental such as Anaconda? Many thanks. -- .. Ke

Re: [Paraview] How to read the file info in *pvd file

2017-11-15 Thread Ke Gao
e.com> wrote: > What do you mean by "file info"? File name? Size of the file? Data arrays > in the file? > > - Cory > > On Tue, Nov 14, 2017 at 4:45 PM, Ke Gao <ke.gao...@gmail.com> wrote: > >> Does anyone know how to read the file info fr

Re: [Paraview] How to read the file info in *pvd file

2017-12-06 Thread Ke Gao
find the "file" attributes to get the *pvtu file names. Then you can > parse those *pvtu XML files to get whatever information you want. One > such module is documented here: > https://docs.python.org/2/library/xml.etree.elementtree.html. > > HTH, > Cory > >