Christopher,

Fetching the bounds of a source in Python is as simple as:

  >>> mySource.GetDataInformation().GetBounds()

The vtkPVDataInformation
<http://www.paraview.org/ParaQ/Doc/Nightly/html/classvtkPVDataInformation.html>
object returned by GetDataInformation() contains many other information
about the source like:
 - DataSetType
 - MemorySize
 - PolygonCount
 - NumberOfPoints
 - NumberOfCels
etc.


Regards,

*Joachim Pouderoux*

*PhD, Technical Expert*
*Kitware SAS <http://www.kitware.fr>*


2015-08-01 1:24 GMT+02:00 Neal,Christopher R <[email protected]>:

> Hi all,
>
>
> I have noticed that  the max and min values of the x, y, and z coordinates
> of all of the vertices are displayed at the bottom of the 'Information' tab
> when I load a computational grid file into Paraview.  Is there a way to
> extract this information via a Python call to the Paraview library?
>
> Thank you,
>
>
> Christopher R. Neal
> Graduate Student
> Center for Compressible Multiphase Turbulence
> Mechanical and Aerospace Engineering Department
> University of Florida
> Cell: (863)-697-1958
> E-mail:  [email protected]
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to