[Paraview] 1 script open different vtk files

llapis Pencil llapispencil at yahoo.es
Wed Jun 30 06:46:22 EDT 2010


hi again, 

thanks for the response. So i understand i have to create a file contraining this information (reffering to my files) to open it later directly with Paraview. Which type of file should be? because i tried many files and still not work. Paraview ask me to chose a reader to open it. Maybe I should know also which reader. Here is the information contained in the file to be open.

from paraview.simple import *

reader1 = OpenDataFile(“out1-1.vtk”)
reader2 = OpenDataFile("out1-2.vtk")
reader3 = OpenDataFile(“out1-3.vtk”)
reader4 = OpenDataFile("out1-4.vtk")

Show(reader1)
Show(reader2)
Show(reader3)
Show(reader4)

Render()



________________________________
De: Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
Para: llapis Pencil <llapispencil at yahoo.es>
CC: PARAVIEW <paraview at paraview.org>
Enviado: mié,23 junio, 2010 16:08
Asunto: Re: [Paraview] 1 script open different vtk files

# for paraview 3.8.0 or greater.

from paraview.simple import *

reader1 = OpenDataFile(“file1”)
reader2 = OpenDataFile("file2")
....
Show(reader1)
Show(reader2)
...

Render()

On Wed, Jun 23, 2010 at 9:35 AM, llapis Pencil <llapispencil at yahoo.es> wrote:
>
> Hi again,
> thanks for the response. Now my question is how can i create a script which
> tells PARAVIEW to open a certain number of vtk files at once and visualize
> them all together?
>
> Thanx one more time
>
>
> _______________________________________________
> 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
>
>



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100630/c6708c1d/attachment-0001.htm>


More information about the ParaView mailing list