<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=iso-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
<br>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
Thanks sounds exactly what I was looking for. However I don't really
know how to use it:<br>
<br>
source=GetActiveSource()<br>
iter=servermanager.vtkPVCompositeDataInformationIteratior()<br>
dir(iter) -&gt; shows no GetCurrentName()<br>
<br>
Thanks Bastian<br>
<br>
<br>
<blockquote cite="mid:4B8D781E.9050005@yahoo.de" type="cite"><br>
-------- Original-Nachricht --------
  <table class="moz-email-headers-table" border="0" cellpadding="0"
 cellspacing="0">
    <tbody>
      <tr>
        <th nowrap="nowrap" valign="baseline" align="right">Betreff: </th>
        <td>Re: [Paraview] Name query from multi-block data in Python</td>
      </tr>
      <tr>
        <th nowrap="nowrap" valign="baseline" align="right">Datum: </th>
        <td>Tue, 2 Mar 2010 14:24:51 -0500</td>
      </tr>
      <tr>
        <th nowrap="nowrap" valign="baseline" align="right">Von: </th>
        <td>Utkarsh Ayachit <a moz-do-not-send="true"
 class="moz-txt-link-rfc2396E" href="mailto:utkarsh.ayachit@kitware.com">&lt;utkarsh.ayachit@kitware.com&gt;</a></td>
      </tr>
      <tr>
        <th nowrap="nowrap" valign="baseline" align="right">An: </th>
        <td><a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Bastil2001@yahoo.de">Bastil2001@yahoo.de</a> <a
 moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="mailto:Bastil2001@yahoo.de">&lt;Bastil2001@yahoo.de&gt;</a></td>
      </tr>
      <tr>
        <th nowrap="nowrap" valign="baseline" align="right">CC: </th>
        <td>ParaView <a moz-do-not-send="true"
 class="moz-txt-link-rfc2396E" href="mailto:paraview@paraview.org">&lt;paraview@paraview.org&gt;</a></td>
      </tr>
    </tbody>
  </table>
  <br>
  <br>
  <pre>Yea, I don;t see why not. You can create the iterator as follows:

&gt; from paraview.simple import *
&gt; iter = servermanager.vtkPVCompositeDataInformationIterator()


Utkarsh

On Mon, Mar 1, 2010 at 5:04 PM, <a moz-do-not-send="true"
 class="moz-txt-link-abbreviated" href="mailto:Bastil2001@yahoo.de">Bastil2001@yahoo.de</a> <a
 moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="mailto:Bastil2001@yahoo.de">&lt;Bastil2001@yahoo.de&gt;</a> wrote:
&gt; Thanks. Can this be done from within Python?
&gt;
&gt; Regards Bastian
&gt;
&gt; Am 01.03.2010 15:10, schrieb Utkarsh Ayachit:
&gt;&gt; Alternatively you can use the vtkPVCompositeDataInformationIterator to
&gt;&gt; iterate over the blocks as well. It has a method GetCurrentName()
&gt;&gt; which can be used to obtain the name of the current block.
&gt;&gt;
&gt;&gt; Utkarsh
&gt;&gt;
&gt;&gt; On Mon, Mar 1, 2010 at 6:40 AM, Berk Geveci <a
 moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="mailto:berk.geveci@kitware.com">&lt;berk.geveci@kitware.com&gt;</a> wrote:
&gt;&gt;
&gt;&gt;&gt; Yes. If one of the first level children is a multi-block dataset, you can do
&gt;&gt;&gt; something like:
&gt;&gt;&gt;
&gt;&gt;&gt; dataInformation.GetCompositeDataInformation().GetDataInformation(i).GetCompositeDataInformation().GetInformation(j)
&gt;&gt;&gt;
&gt;&gt;&gt; -berk
&gt;&gt;&gt;
&gt;&gt;&gt; On Sat, Feb 27, 2010 at 5:33 AM, <a moz-do-not-send="true"
 class="moz-txt-link-abbreviated" href="mailto:Bastil2001@yahoo.de">Bastil2001@yahoo.de</a> <a
 moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="mailto:Bastil2001@yahoo.de">&lt;Bastil2001@yahoo.de&gt;</a>
&gt;&gt;&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Hi,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I use python to extract blocks of a multi-block dataset. In both 3.6.2
&gt;&gt;&gt;&gt; and 3.7-dev I can do:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.cmake.org/Wiki/Extracting_Multiple_Blocks">http://www.cmake.org/Wiki/Extracting_Multiple_Blocks</a>
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; However it was discussed it will be easier in 3.8?
&gt;&gt;&gt;&gt; IS there an opportunity to query for names in an multiblock-dataset with
&gt;&gt;&gt;&gt; deepth &gt; 1? The link below works e.g. for Ensight Reader inputs since it
&gt;&gt;&gt;&gt; is of deepth 1 but not for mutliblock data with larger deepth.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Thanks Basti
&gt;&gt;&gt;&gt; _______________________________________________
&gt;&gt;&gt;&gt; Powered by <a moz-do-not-send="true"
 class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Visit other Kitware open-source projects at
&gt;&gt;&gt;&gt; <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:
&gt;&gt;&gt;&gt; <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:
&gt;&gt;&gt;&gt; <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; _______________________________________________
&gt;&gt;&gt; Powered by <a moz-do-not-send="true"
 class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
&gt;&gt;&gt;
&gt;&gt;&gt; Visit other Kitware open-source projects at
&gt;&gt;&gt; <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
&gt;&gt;&gt;
&gt;&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:
&gt;&gt;&gt; <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
&gt;&gt;&gt;
&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:
&gt;&gt;&gt; <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt; _______________________________________________
&gt;&gt; Powered by <a moz-do-not-send="true"
 class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
&gt;&gt;
&gt;&gt; Visit other Kitware open-source projects at <a
 moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
&gt;&gt;
&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at: <a
 moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
&gt;&gt;
&gt;&gt; Follow this link to subscribe/unsubscribe:
&gt;&gt; <a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
&gt;&gt;
&gt;&gt;
&gt;
&gt;

  </pre>
</blockquote>
<p><span style="font-family: 'Arial'; font-size: 8pt;">********************************************************************************</span></p>
<p><span style="font-family: 'Arial'; font-size: 8pt;">Diese E-Mail,
einschlie&szlig;lich s&auml;mtlicher mit ihr &uuml;bertragener Dateien, ist vertraulich
und f&uuml;r die ausschlie&szlig;liche Verwendung durch die Person oder das
Unternehmen vorgesehen, an die/das sie adressiert ist. Sollten Sie
diese E-Mail f&auml;lschlicherweise erhalten haben, benachrichtigen Sie
bitte den Systemverwalter. Diese E-Mail wurde auf die Anwesenheit von
Computerviren durch F-Secure &uuml;berpr&uuml;ft.</span></p>
<p><span style="font-family: 'Arial'; font-size: 8pt;"><a class="moz-txt-link-abbreviated" href="http://www.mimesweeper.com">www.mimesweeper.com</a></span></p>
<p><span style="font-family: 'Arial'; font-size: 8pt;">*********************************************************************************</span></p>
<p><span style="font-family: 'Arial'; font-size: 8pt;">&nbsp;</span></p>
</body>
</html>