Created
March 29, 2015 11:49
-
-
Save roliveira/0c07127a5a06c6beb456 to your computer and use it in GitHub Desktop.
Get rid of the `default` Cube present in Blender
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
if "Cube" in bpy.data.objects.keys(): | |
bpy.data.objects.get("Cube").select = True | |
bpy.ops.object.delete() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment