THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/06/2011 at 10:08, xxxxxxxx wrote:
Here an example Code to the SelectionListDialog - issue for the Script-Manager.
And in this example PythonTag I wrote, you can see there is a function "GetObjectsFromInExcludeData" which makes sure that no Objects returned from the InExclude Data as "None" will be added to the list.
Without testing if the returned Object is not None, the SelectionListDialog raises an error.
(The TreeView in the Description was just for testing purpose)
Go forward as follows:
1. Create the Tag
2. Add some Objects to the "Objects" InExclude Data List.
3. Delete the Objects from the Document, not from the List, the Objects should be removed from the List now as well.
4. Click on the "Remove" Button, the Objects appear in the Dialog.
5. Click on it once again and take a look into the Console, the SelectionListDialog did raise an error that it only wants to have c4d.BaseObject's in the overloaded iterateable, but it found "None" in it.