[Paraview] Saving Ascii Multiblock files

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Sat Dec 7 22:35:57 EST 2013


YOu can always look at the Python help:

e.g.

> writer = CreateWriter(....)
> help(writer)

That will print information about available properties on the writer.

Utkarsh


On Sat, Dec 7, 2013 at 9:26 PM, Jacob Wolf <jacob.a.wolf.12 at gmail.com>wrote:

> Perfect. Thanks for the help! So that I don't ask more questions of that
> sort, do you know where that is documented?
>
>
> On Sat, Dec 7, 2013 at 6:59 AM, Utkarsh Ayachit <
> utkarsh.ayachit at kitware.com> wrote:
>
>> Try:
>>
>> writer.DataMode = "Ascii"
>> writer.UpdatePipeline()
>>
>> Utkarsh
>>
>> On Wed, Dec 4, 2013 at 6:07 PM, Jacob Wolf <jacob.a.wolf.12 at gmail.com>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
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131207/ebb941e0/attachment.htm>


More information about the ParaView mailing list