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
_______________________________________________
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

Reply via email to