Perspective how to remove an item from a tree dynamicaly

Have you tried using self.getChild("Tree").props.items[0].items.pop(index_of_item_to_remove)?

Also, you should be aware of this bug when attempting to modify something with an objectWrapper type using normal python dictionary/list methods.

1 Like