Hi,<br>
Is there a way to split one .vtp file into many pieces...??<br>
vtkXMLPPolyDataWriter.SetNumberOfPieces() does not split my .vtp file. Following is the code snippet :<br>&nbsp;&nbsp;&nbsp;
<br>
&nbsp;&nbsp;&nbsp; writer = vtk.vtkXMLPDataSetWriter()<br>
&nbsp;&nbsp;&nbsp; writer.SetFileName('polydata.pvtp')<br>
&nbsp;&nbsp;&nbsp; writer.SetInput(polydata)<br>
&nbsp;&nbsp;&nbsp; writer.SetDataModeToAscii()<br>
&nbsp;&nbsp;&nbsp; writer.SetNumberOfPieces(3)<br>
&nbsp;&nbsp;&nbsp; writer.SetStartPiece(0)<br>
&nbsp;&nbsp;&nbsp; writer.SetEndPiece(2)<br>
&nbsp;&nbsp;&nbsp; writer.Write()<br>
&nbsp;&nbsp;&nbsp; <br>
This produces the metafile (polydata.pvtp)&nbsp; and three
piecefiles&nbsp; with .vtp extensions but the entire polydata is being
written into each file. Am I missing something? How can I divide the
data into pieces and then write each piece to corresponding file ( i
assumed that this writer would that job for me?? )<br>
<br>
Thank you in advance for any response.<br>
-johnny<br>