You are correct, it's not implemented. We didn't think of enumeration values being lists. Feel free to add a feature request.
Utkarsh On Thu, Apr 29, 2010 at 11:09 AM, Paul Edwards <[email protected]> wrote: > Hi, > I have this in my XML: > <IntVectorProperty name="Items" command="AddItems" > clean_command="RemoveAllItems" repeat_command="1" > number_of_elements_per_command="1"> > <EnumerationDomain name="array_list"> > <Entry value="1" text="item 1"/> > <Entry value="2" text="item 2"/> > <Entry value="3" text="item 3"/> > </EnumerationDomain> > </IntVectorProperty> > The problem I have is that I don't know how to set the items in python by > their name. instead I need to call: > filter.Items = [1,2] > rather than: > filter.items = ['item 1', 'item 2'] > This seems work work automatically for single items (such as with the mesh > quality filter). Is this just not implemented for lists or have I done > something wrong? > Thanks in advance, > Paul > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
