[Paraview] Question about Python and vtk files

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Jan 25 09:46:59 EST 2010


Yes it's possible. Here's the example:

w = XMLMultiBlockDataWriter(Input=contour, FileName="/tmp/foo.vtm")
w.UpdatePipeline()





On Mon, Jan 25, 2010 at 8:57 AM, bassaidai <bassaidai0 at gmail.com> wrote:
> Hi,
> is it possible to save an element (contour, slice, ...) of the pipeline
> browser in wtk format (.vtm extension) using Python?
> For example, with CTRL + S we can save an element (contour, ...) in .vtm
> file format: can we do the same thing using Python?
> We only found how to save a state file...
>
> Thank you very much
> Luis
>
>
> _______________________________________________
> 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
>
>


More information about the ParaView mailing list