I'm working on an addon that adds or deletes objects. Sometimes this can be hundreds of objects. The problem is upon deleting 100 objects, the Info editor is filled with 100 lines of bpy.ops.object.delete()
and the System Console is filled with 100 lines of "Info: Deleted 1 object(s)".
Is there any way to hide or silence this deletion?
if self.objects:
for i in self.objects:
ob = [self.scn.objects[i]]
bpy.ops.object.delete({"selected_objects": ob})
self.objects = []