hi everybody,
we have the same issue, we try to remove a group wich is default.
we can remove all shapes in this layer but can't remove the group.
the code is following:
for s in doc.chunk.shapes.shapes:
if s.group.label == "Tiles":
doc.chunk.shapes.remove(s)
for g in doc.chunk.shapes.groups:
if g.label == "Tiles":
doc.chunk.shapes.remove(g)