[Paraview] Loading data files in Python
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Tue Mar 23 16:59:00 EDT 2010
Folks,
I've just committed changes to paraview.simple to use the same logic
that ParaView GUI uses to load a data file using an extension. This
will be included in ParaView 3.8.
http://www.paraview.org/Wiki/ParaView/Python_Scripting#Loading_Data_Files
Example:
-------------------------------------------
from paraview.simple import *
reader = OpenDataFile("../can.ex2")
Show()
Render()
-------------------------------------------
Utkarsh
More information about the ParaView
mailing list