Created
October 13, 2022 20:24
-
-
Save SuddenDevelopment/94f01d7971fccb7e90e6c38f13cf237c to your computer and use it in GitHub Desktop.
Blender Python to find duplicate objects based on mesh name
This file contains hidden or 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 | |
| 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