<br><br><div class="gmail_quote">On 5 June 2010 00:56, Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Remove the for loop and just do a<br>
writer-&gt;SetFileName(&quot;file.vtp&quot;);<br>
writer-&gt;Write();<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br></div><div>Thanks Bill. Worked fine.</div><div><br></div><div> </div></div>