<div dir="ltr">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin:0px;text-indent:0px"><span style="font-family:arial,helvetica,sans-serif"><span style="font-size:10pt;color:rgb(0,0,0)">Neal,</span></span></p><p style="margin:0px;text-indent:0px"><span style="font-family:arial,helvetica,sans-serif"><br><span style="font-size:10pt;color:rgb(0,0,0)"></span></span></p><p style="margin:0px;text-indent:0px"><span style="font-family:'Courier';font-size:10pt;color:#000000"><span style="font-family:arial,helvetica,sans-serif">Try this:</span><br></span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-family:'Courier';font-size:10pt;color:#000000">>>> mySource.PointData.values()</span></p><p style="margin:0px;text-indent:0px"><span style="font-family:'Courier';font-size:10pt;color:#000000">>>> mySource.CellData.values()</span></p><p style="margin:0px;text-indent:0px"><br><span style="font-family:'Courier';font-size:10pt;color:#000000"></span></p><p style="margin:0px;text-indent:0px"><span style="font-family:'Courier';font-size:10pt;color:#000000"><span style="font-family:arial,helvetica,sans-serif">Joachim</span><br></span></p></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><b>Joachim Pouderoux</b><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>PhD, Technical Expert</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
</div></div></div>
<br><div class="gmail_quote">2015-08-03 17:59 GMT+02:00 Neal,Christopher R <span dir="ltr"><<a href="mailto:chrisneal@ufl.edu" target="_blank">chrisneal@ufl.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Thanks Joachim!</p>
<p><br>
</p>
<p>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'].</p><span class="">
<p><br>
</p>
<p>Thank you,<br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<span lang="en-US">
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Christopher R. Neal<span name="searchHitInReadingPane"></span></span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Graduate Student
<br>
Center for Compressible Multiphase Turbulence<br>
</span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Mechanical and Aerospace Engineering Department<br>
</span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">University of Florida</span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Cell: (863)-697-1958</span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">E-mail:  <a href="mailto:chrisneal@ufl.edu" target="_blank">chrisneal@ufl.edu</a></span></font></div>
</span></div>
</div>
<br>
<br>
</span><div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Joachim Pouderoux <<a href="mailto:joachim.pouderoux@kitware.com" target="_blank">joachim.pouderoux@kitware.com</a>><br>
<b>Sent:</b> Monday, August 3, 2015 3:06 AM<br>
<b>To:</b> Neal,Christopher R<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Extract the x,y,z extents of a domain in Paraview</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>Christopher,<br>
<br>
</div>
Fetching the bounds of a source in Python is as simple as:<br>
<br>
</div>
<span style="font-family:monospace,monospace">  >>> mySource.GetDataInformation().GetBounds()</span><br>
</div>
<br>
The <a href="http://www.paraview.org/ParaQ/Doc/Nightly/html/classvtkPVDataInformation.html" target="_blank">
vtkPVDataInformation</a> object returned by GetDataInformation() contains many other information about the source like:<br>
</div>
 - DataSetType<br>
</div>
<div> - MemorySize<br>
</div>
 - PolygonCount<br>
</div>
 - NumberOfPoints<br>
</div>
 - NumberOfCels <br>
</div>
etc.<br>
<br>
<div>
<div>
<div>
<div><br>
<div>
<div>
<div>
<div>Regards,<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div>
<div dir="ltr"><b>Joachim Pouderoux</b><br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<font size="1"><i>PhD, Technical Expert</i></font><br>
<b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br>
</blockquote>
</div>
</div>
</div>
<br>
<div class="gmail_quote">2015-08-01 1:24 GMT+02:00 Neal,Christopher R <span dir="ltr">
<<a href="mailto:chrisneal@ufl.edu" target="_blank">chrisneal@ufl.edu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi all,</p>
<p><br>
</p>
<p>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?<br>
<br>
Thank you,</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper"><span lang="en-US">
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Christopher R. Neal<span name="searchHitInReadingPane"></span></span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Graduate Student
<br>
Center for Compressible Multiphase Turbulence<br>
</span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Mechanical and Aerospace Engineering Department<br>
</span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">University of Florida</span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Cell: (863)-697-1958</span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">E-mail: 
<a href="mailto:chrisneal@ufl.edu" target="_blank">chrisneal@ufl.edu</a></span></font></div>
</span></div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">
http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</div>

</blockquote></div><br></div>