[Paraview] Help needed debugging VTP file

Olumide 50295 at web.de
Tue Oct 7 19:22:26 EDT 2008


Here's another small vtp file that Paraview won't open. I'm getting the 
error: "Cannot read cell connectivity from Polys in piece 0 because the 
"connectivity" array is not long enough."

Can someone please tell me what I'm missing.

Thanks

%%%%%%%%%%%%%%%%% Small File %%%%%%%%%%%%%%%%%

<?xml version="1.0" encoding="utf-8"?>
<VTKFile type="PolyData" version="0.1" byte_order="LittleEndian">
	<PolyData>
		<Piece NumberOfPoints="9" NumberOfLines="1" NumberOfPolys="1">

			<Points>
				<DataArray type="Float32" NumberOfComponents="3" format="ascii">
					 0.395507 0.427410 0.812954
					 0.457372 0.349573 0.817686
					 0.541530 0.349630 0.764529
					 0.563762 0.427524 0.706680
					 0.501819 0.505304 0.702030
					 0.417690 0.505133 0.755232

					 0.417690 0.505133 0.755232
					 0.395507 0.427410 0.812954
					 0.482041 0.429542 0.763630
				</DataArray>
			</Points>

			<Lines>
				<DataArray type="Int32" Name="connectivity" format="ascii">
					 0 1 2 3 4 5
				</DataArray>
				<DataArray type="Int32" Name="offsets" format="ascii">
					6
				</DataArray>
			</Lines>

			<Polys>
				<DataArray type="Int32" Name="connectivity" format="ascii">
					6 7 8
				</DataArray>
				<DataArray type="Int32" Name="offsets" format="ascii">
					 10
				</DataArray>
			</Polys>

		</Piece>
	</PolyData>
</VTKFile>



More information about the ParaView mailing list