<div dir="ltr">Try:<div><br></div><div>writer.DataMode = "Ascii"</div><div>writer.UpdatePipeline()</div><div><br></div><div><div class="gmail_extra">Utkarsh<br><br><div class="gmail_quote">On Wed, Dec 4, 2013 at 6:07 PM, Jacob Wolf <span dir="ltr"><<a href="mailto:jacob.a.wolf.12@gmail.com" target="_blank">jacob.a.wolf.12@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<p style="margin:0px">Hello,</p><p style="margin:0px"><br></p><p style="margin:0px">I'm running a script in Paraview for batch processing of results from CFD. The data is composed of several AMR rectilinear meshes, so it can be saved as several .vtr files with a single .vtm file pointing to each mesh. Using the code snippet below, I'm able to save the .vtr files in the Appended data mode, but I need them in Ascii in order for another program to process the data outside of Paraview. How can I change the writer's mode?</p>
<p style="margin:0px"><br></p>
<p style="margin:0px"> writer = CreateWriter("/Users/administrator/Desktop/Research/Data/Processed Data/file.vtm")</p><p style="margin:0px">
</p><p style="margin:0px">writer.UpdatePipeline()</p><p style="margin:0px"><br></p><p style="margin:0px">Alternatively, if there was another format where I could write points and associated vectors to text file, I could use that. </p>
<p style="margin:0px"><br></p><p style="margin:0px">Thanks,</p><p style="margin:0px">Jake</p></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div></div></div>