Skip to content

Instantly share code, notes, and snippets.

@SuddenDevelopment
Created October 13, 2022 20:24
Show Gist options
  • Select an option

  • Save SuddenDevelopment/94f01d7971fccb7e90e6c38f13cf237c to your computer and use it in GitHub Desktop.

Select an option

Save SuddenDevelopment/94f01d7971fccb7e90e6c38f13cf237c to your computer and use it in GitHub Desktop.
Blender Python to find duplicate objects based on mesh name
import bpy
objTarget = bpy.context.active_object
for obj in bpy.data.objects:
if obj.data.name[:-4] == objTarget.data.name:
obj.select_set(True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment