Ah, it seems the array_list is exactly what I need.  <div><br></div><div>Is there anywhere with documentation for the XML?  I&#39;ve needed to look through the source code of other filters to realise that using:<div>    </div>
<div>      &lt;ArraySelectionInformationHelper attribute_name=&quot;<b>NAME</b>&quot;/&gt;</div><div><br></div><div>uses the following methods in the class:</div><div><br></div><div>      int GetNumberOf<b>NAME</b>Arrays()</div>
<div>      const char* Get<b>NAME</b>ArrayName(int)</div><div>      int Get<b>NAME</b>ArrayStatus(const char*)</div><div>      void Set<b>NAME</b>ArrayStatus(const char*, int)</div><div>      <br>I&#39;ve also noticed the SIL stuff too - is there any documentation on that as it would be quite nice to select by properties for CFD solutions, e.g. surface types, zone number, rotational speed, etc.</div>
<div><br></div><div>Thanks,<br>Paul</div><div><br></div><div><br><div class="gmail_quote">On 1 September 2010 13:26, Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Paul,<br>
<br>
Why is this any different from array-selection already provided by many readers?<br>
<br>
Utkarsh<br>
<div><div></div><div class="h5"><br>
On Wed, Sep 1, 2010 at 8:21 AM, Paul Edwards &lt;<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt; I have a reader and would like to have a list box in the object panel to<br>
&gt; select which zones to read in from the file.  The number of zones can change<br>
&gt; depending on the file.  Does anyone have any suggestions for how to do this?<br>
&gt;  My ideas were:<br>
&gt;<br>
&gt; add a new vtkSM*Domain<br>
&gt;<br>
&gt; I don&#39;t think this is possible in a plugin because pqSMAdaptor needs to be<br>
&gt; updated for any new class (is that right?)<br>
&gt;<br>
&gt; create a custom panel and have one information only property to get the<br>
&gt; number of zones and another property to set the zones<br>
&gt;<br>
&gt; would the set property need to be a string that I put comma-separated zone<br>
&gt; indexes or is there a way to change the number of elements in an integer<br>
&gt; vector?<br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt; Paul<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br></div></div>