Last active
August 29, 2015 14:02
-
-
Save zeffii/51095b558636635d788b to your computer and use it in GitHub Desktop.
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
# PKHG points out in the comments that there are more convenient ways to do this | |
bpy.ops.object.mode_set(mode='OBJECT') | |
bpy.ops.object.select_by_type(type='MESH') | |
bpy.ops.object.delete(use_global=False) | |
for item in bpy.data.meshes: | |
bpy.data.meshes.remove(item) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment