Skip to content

Instantly share code, notes, and snippets.

@edom18
Created January 19, 2014 13:36
Show Gist options
  • Save edom18/8505099 to your computer and use it in GitHub Desktop.
Save edom18/8505099 to your computer and use it in GitHub Desktop.
This script is for Blender. Rename objects, meshes, bones and materials' name.
import bpy
for obj in bpy.data.objects:
obj.name = 'replaceObjectName'
for mesh in bpy.data.meshes:
mesh.name = 'replaceMeshName'
for armature in bpy.data.armatures:
armature.name = 'replaceArmatureName'
for bone in armature.bones:
bone.name = 'replaceBoneName'
for material in bpy.data.materials:
material.name = 'replaceMaterialName'
@kholyphoenix1
Copy link

How use this script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment