<div dir="ltr">There isn't a prebuilt way, but you can subclass vtkSMArrayListDomain and override vtkSMArrayListDomain::IsFilteredArray() to filter out arrays you don't want and use that domain for your property.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 18, 2016 at 4:20 AM, Cornelis Bockemühl <span dir="ltr"><<a href="mailto:cornelis.bockemuehl@gmail.com" target="_blank">cornelis.bockemuehl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">With this in the server manager xml it is possible to have the user select one of the available attributes in the input data:<div><br></div><div><div><StringVectorProperty command="SetMyAttribute"</div><div><span class="m_6757136701437351704gmail-Apple-tab-span" style="white-space:pre-wrap">                                            </span>label="Select an attribute"</div><div>                      name="MyTonnage"</div><div>                      number_of_elements="1"</div><div>                      panel_visibility="default"></div><div>  <ArrayListDomain name="array_list"></div><div>    <RequiredProperties></div><div>      <Property function="Input"</div><div>                name="Input" /></div><div>    </RequiredProperties></div><div>  </ArrayListDomain></div><div>  <Documentation></div><div>    Whatever...</div><div>  </Documentation></div><div></StringVectorProperty></div><div><br></div><div>I have now a case where it would be desirable to constrain the selection to some of the attributes only, like with a filter function (best part of the C++ code of the plugin) that selects only some of the attributes based on their name.</div><div><br></div><div>Is there any way how to achieve this?</div><div><br></div><div>Thanks for any helpful hints!</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_6757136701437351704gmail_signature">Cornelis Bockemühl<br>Basel, Schweiz<br></div>
</font></span></div></div>
<br>______________________________<wbr>_________________<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/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a><br>
<br></blockquote></div><br></div>