I need to purge many groups from the group table ( about 2k empty groups).
This takes many minutes as I did not find another way than to iterate over the group indices to delete and pass them one by one to GroupTable.Delete(int)
I do it in python like so:
for i in group_indices: sc.doc.Groups.Delete(i)
Is there another way to speed this up, maybe an overload to pass an array of indices?