Hi,<div><br></div><div>I have this in my XML:</div><div><br></div><div><IntVectorProperty name="Items" command="AddItems" clean_command="RemoveAllItems" repeat_command="1" number_of_elements_per_command="1"></div>
<div> <EnumerationDomain name="array_list"></div><div><div> <Entry value="1" text="item 1"/></div></div><div><div> <Entry value="2" text="item 2"/></div>
</div><div><div> <Entry value="3" text="item 3"/></div></div><div> </EnumerationDomain></div><div></IntVectorProperty></div><div><br></div><div>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:</div>
<div><br></div><div>filter.Items = [1,2]</div><div><br></div><div>rather than:</div><div><br></div><div>filter.items = ['item 1', 'item 2']</div><div><br></div><div>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?</div>
<div><br></div><div>Thanks in advance,</div><div>Paul</div>