[Paraview] .vtp file not readable

David Doria daviddoria at gmail.com
Mon Jun 4 07:52:29 EDT 2012


On Mon, Jun 4, 2012 at 4:09 AM, Tuan Ha Tran <tuan-ha.tran at insa-lyon.fr>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120604/ae35b102/attachment-0001.htm>


More information about the ParaView mailing list