[Paraview] vtk file open command

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Jul 12 16:16:00 EDT 2010


The solution has been post previously but here is what you should look for.

# The python script is the following:
from paraview.simple import *
reader = OpenDataFile('...\out1-1.vtk')
Show(reader)
Render()
#########

Seb


On Mon, Jul 12, 2010 at 3:35 PM, llapis Pencil <llapispencil at yahoo.es> wrote:
> Hi,
>
> I'm trying to open a vtk file with a Python script. Do someone know which is
> the appropiated command? Do I need special libraries?
>
> Thanks for advance
>
> Llapis
>
>
> _______________________________________________
> 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
>
>


More information about the ParaView mailing list