[Paraview] Combining pvts files into one large vts file
Mark Fleharty
mark.fleharty at gmail.com
Tue Jun 16 15:13:22 EDT 2009
Berk,
Thank you for looking into this. I found the problem and it was not
with Paraview. Sorry, I should have posted that I had found my
problem.
Thanks,
Mark
On Tue, Jun 16, 2009 at 12:38 PM, Berk Geveci<berk.geveci at kitware.com> wrote:
> 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
>>
>
--
Mark Fleharty
+1 505 217-2089
More information about the ParaView
mailing list