[Paraview] Vtp file calling other files

Marwen Gammar mgammar at outlook.fr
Tue May 17 05:26:54 EDT 2016


Hello Miss, Mister,
I want to combine lots of files for my animation so that i can save space in my computer, however i get messages of error about the fact that the file cannot be read, could you help me please?
Here is an example with the cube:

<?xml version="1.0"?>
<VTKFile type="PolyData" version="0.1" byte_order="LittleEndian" xmlns:xi="http://www.w3.org/2003/XInclude">
 <PolyData>
   <Piece NumberOfPoints="8" NumberOfVerts="0" NumberOfLines="0"
          NumberOfStrips="0" NumberOfPolys="6">
    <Points>
     <DataArray type="Float32" NumberOfComponents="3" format="XML">
         <xi:include href="nodes.xml" parse="text"/>
     </DataArray>
    </Points>
    <PointData Scalars="my_scalars">
     <DataArray type="Float32" Name="my_scalars" format="ascii">
1 2 3 4 5 6 7 0
     </DataArray>
    </PointData>
    <Polys>
     <DataArray type="Int32" Name="connectivity" format="ascii">
0 1 2 3 4 5 6 7 0 1 5 4 2 3 7 6 0 4 7 3 1 2 6 5
     </DataArray>
     <DataArray type="Int32" Name="offsets" format="ascii">
       4 8 12 16 20 24
     </DataArray>
    </Polys>
   </Piece>
  </PolyData>
</VTKFile>

The use of Xinclude works with xdmf but i have some trouble with the animation, so i want to use through vtp files.

Thank you very much for your help!
GAMMAR Marwen
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160517/50f5304b/attachment.html>


More information about the ParaView mailing list