Skip to content

Instantly share code, notes, and snippets.

@openroomxyz
Created April 21, 2020 12:40
Show Gist options
  • Save openroomxyz/c16e48d6236663056c03d010db068af7 to your computer and use it in GitHub Desktop.
Save openroomxyz/c16e48d6236663056c03d010db068af7 to your computer and use it in GitHub Desktop.
Blender Python : How to deselect all object and select only the object with name?
import bpy
bpy.ops.object.select_all(action='DESELECT')
bpy.data.objects["PEPE"].select_set(state=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment