[Paraview] PVPython: paraview.vtk not the same as vtk

Hal Canary hal at cs.unc.edu
Mon Apr 2 17:24:37 EDT 2012


On 04/02/2012 04:45 PM, Pat Marion wrote:
> You can import paraview.vtk.io to access the xml writer.


Thanks!

	import paraview.vtk.io
	writer = paraview.vtk.io.vtkXMLImageDataWriter()

worked perfectly.  No need to install VTK when I already have ParaView!

-- 
Hal Canary
http://cs.unc.edu/~hal/


More information about the ParaView mailing list