[Paraview] how to access output of the Integrate Variables filter in Python?

David E DeMarle dave.demarle at kitware.com
Mon Dec 17 19:44:50 EST 2012


Try servermanager.Fetch()

That will return the result of the filter to you as a vtk object on
the client (so you are using a cluster to access big data, don't do
this). From there you can query it directly.

If you are on a cluster and working with big data, use the python
programmable filter to query the data where it lives on the server.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Mon, Dec 17, 2012 at 6:46 PM, Celia Bremer <fuwsle at hotmail.com> wrote:
>
>
> Hello,
>
> I want to calculate the volume of an object and then do some calculations in Python based on the result. The GUI has the output of Integrate Variables as a table, and volume is one of the table cells. How do I access the value of that table cell through Python? Thank you!
>
> Celia
> _______________________________________________
> 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