[Paraview] Combining pvts files into one large vts file
Berk Geveci
berk.geveci at kitware.com
Tue Jun 16 14:38:15 EDT 2009
Hi Mark,
I don't see anything wrong in your script. Neither can I reproduce the
problem. Can you send me an example dataset?
-berk
On Thu, Jun 4, 2009 at 4:37 PM, Mark Fleharty<mark.fleharty at gmail.com> wrote:
> Hello,
>
> I've been trying to combine pvts and its list of vts files into one
> large vts file.
>
> I've tried things like the following, but it isn't working quite the
> way I would expect, some of the data is getting truncated for reasons
> I haven't been able to figure out.
>
> #!/usr/local/bin/pvpython
> from paraview.servermanager import *
> Connect()
> reader = sources.XMLPStructuredGridReader(FileName="fields.00010.pvts")
> extract= filters.ExtractGrid(Input=reader)
> extract.VOI=(0,64,0,8, 0,0) # This is the volume I'm interested in
> extract_writer=writers.XMLStructuredGridWriter(Input=extract, FileName="ff.vts")
>
> extract_writer.DataMode=0
> extract_writer.UpdatePipeline()
>
> Any ideas?
>
> Thanks,
>
> Mark
>
> --
> Mark Fleharty
> +1 505 217-2089
> _______________________________________________
> 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