Trying to find a solution to remove objects from a InExclude List from a CommandData plugin.
inExcludeData = self.linkObjs.GetData() objCount = inExcludeData.GetObjectCount() for i in range(objCount): print inExcludeData.ObjectFromIndex(activeDocument, i) print objCount inExcludeData.DeleteObject(i)
I can see that that the count goes down and assume the list is being cleared, but the GUI still shows the objects. How can I update it please?
Apologies if this has been solved before, as I couldn't find the thread or answer.
Thank you in advance! :relaxed: