Try:

writer.DataMode = "Ascii"
writer.UpdatePipeline()

Utkarsh

On Wed, Dec 4, 2013 at 6:07 PM, Jacob Wolf <[email protected]>wrote:

> Hello,
>
>
> 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?
>
>
>  writer =
> CreateWriter("/Users/administrator/Desktop/Research/Data/Processed
> Data/file.vtm")
>
> writer.UpdatePipeline()
>
>
> Alternatively, if there was another format where I could write points and
> associated vectors to text file, I could use that.
>
>
> Thanks,
>
> Jake
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to