Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • $\begingroup$ Remove does not delete associated data, unlike the delete operator. So for each object, we need to search for associated data and its type, and remove that data, which is also cumbersome? $\endgroup$
    – chafouin
    Commented Oct 9, 2023 at 11:34
  • 2
    $\begingroup$ The delete operator doesn't delete data either ? Note you can also use bpy.data.batch_remove(objs) (faster if you have a lot of objects to delete, it doesn't trigger a redraw each time) $\endgroup$
    – Gorgious
    Commented Oct 9, 2023 at 12:16
  • $\begingroup$ I thought it did, according to what I was able to find on the net. But thanks for the batch_remove, I'll give it a try. $\endgroup$
    – chafouin
    Commented Oct 9, 2023 at 14:19