Skip to content

Instantly share code, notes, and snippets.

@openroomxyz
Created April 21, 2020 12:47
Show Gist options
  • Save openroomxyz/a00ae5de2361c0504a71d4aab46e147b to your computer and use it in GitHub Desktop.
Save openroomxyz/a00ae5de2361c0504a71d4aab46e147b to your computer and use it in GitHub Desktop.
Blender Python : How to delete all object in scene?
import bpy
bpy.ops.object.select_all(action='SELECT')
bpy.ops.object.delete(use_global=False, confirm=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment