Thanks Joachim!

Do you also happen to know how to obtain the list of plotting variables once a 
data set has been loaded into Paraview? I would like to get something like, 
['Pressure','Density',Velocity'].


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:  chrisn...@ufl.edu


________________________________
From: Joachim Pouderoux <joachim.pouder...@kitware.com>
Sent: Monday, August 3, 2015 3:06 AM
To: Neal,Christopher R
Cc: paraview@paraview.org
Subject: Re: [Paraview] Extract the x,y,z extents of a domain in Paraview

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 
<chrisn...@ufl.edu<mailto:chrisn...@ufl.edu>>:

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:  chrisn...@ufl.edu<mailto:chrisn...@ufl.edu>

_______________________________________________
Powered by www.kitware.com<http://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