Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. import bpy
  2.  
  3. #Rename of the selected objects
  4. for obj in bpy.context.selected_objects:
  5. obj.name = 'Obj_name'
  6. #Rename of the selected armature
  7. for armature in bpy.data.armatures:
  8. armature.name = 'Armature_name'
  9. #Rename oof all bones
  10. for bone in armature.bones:
  11. bone.name = 'Bones_names'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement