On Mon, Jun 4, 2012 at 4:09 AM, Tuan Ha Tran <[email protected]>wrote:
> Hi everybody, > I have a problem in opening a .vtp file. > When I opened from ParaView GUI, I managed to open it by choosing > "Legacy VTK Files" (but this file is not marked as "vtkImageData" to be > used with my filter) > But when I used Python Shell and JavaScript Terminal then my .vtp file > is marked "File not readable. No reader found for '..../myfile.vtp'. > I wondered if anybody have any idea what happened? > Thank you in advance > Sounds like the contents of the file are not actually in vtp format (i.e. written with vtkXMLPolyDataWriter). Maybe you used vtkPolyDataWriter to write a .vtp instead of .vtk? Or if you are storing vtkImageData, you should have probably used vtkXMLImageDataWriter to write a .vti. David
_______________________________________________ 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
