It would help if you told us what the error is.<br><br>If it's a Segfault/Core dump, Which i'm guessing it is, then I bet you need to change the LINES line to instead read:<br>LINES 9 31<br>(You must count the first number, number of nodes, in the "total" count).
<br><br><div><span class="gmail_quote">On 5/8/06, <b class="gmail_sendername">shawn mckenziie</b> <<a href="mailto:shawn.mcknezie@gmail.com">shawn.mcknezie@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;"><div>I am a new VTK user, just creating a .vtp file of only lines and polylines, but im getting an error and cannot open this file...the code is:</div>
<div> </div>
<div># vtk DataFile Version 2.0<br>Polydata Example<br>ASCII<br>DATASET POLYDATA<br>POINTS 22 int<br>0 0 0 0 0 2<br>2 0 0 2 1 1<br>1 2 0 2 2 2<br>0 0 1 0 0 3<br>0 1 1 0 1 3<br>1 1 1 1 1 4<br>0 1 2 1 1 4<br>2 1 2 0 1 3<br>
1 1 3<br>2 1 5<br>1 1 7<br>2 1 9<br>2 2 12<br>2 3 16<br>LINES 9 22<br>2 0 1<br>2 2 3<br>2 4 5<br>2 6 7<br>2 8 9<br>2 10 11<br>2 12 13<br>2 14 15<br>6 16 17 18 19 20 21</div>
<div> </div>
<div>Can anyone see where im going wrong/? Thanks! </div></div><div style="direction: ltr;"><span class="sg">
<div> </div>
<div>Shawn</div>
</span></div><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br><br></blockquote></div><br>