<div dir="ltr"><div><div>Hi Utkarsh,<br><br></div>your approach works fine, thanks a lot!<br><br></div>Cheers<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 17, 2015 at 6:07 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here's a potential approach:<br>
<br>
<StringVectorProperty name="ChooseOne"<br>
command="SetChosenOne"><br>
<StringListDomain name="list"><br>
<RequiredProperties><br>
<Property function="StringList"<br>
name="AvailableOptionsInfo" /><br>
</RequiredProperties><br>
</StringListDomain><br>
</StringVectorProperty><br>
<StringVectorProperty name="AvailableOptionsInfo"<br>
information_only="1"<br>
command="GetAvailableOptions"<br>
si_class="vtkSIDataArrayProperty"><br>
</StringVectorProperty><br>
<br>
<br>
With the following method prototypes:<br>
<br>
void SetChosenOne(const char*);<br>
vtkStringArray* GetAvailableOptions();<br>
</blockquote></div><br></div>