It is a silly thing that should be simple to do, but i can not figure it out. Any hints?
Is it not possible?
ofcourse it is…
http://www.blender.org/documentation/246PythonDoc/Armature-module.html
just get armature, make it editable, set bone name and call update on armature.
.b
I guess i was blind. Here is s short summary:
import Blender
arm = Blender.Armature.Get(‘Armature’)
arm.makeEditable()
arm.bones[‘Bone.001’].name = ‘Arm’
arm.update()
Blender.Window.RedrawAll()
Sorry for reanimating this ancient thread, but the API has changed a lot and this solution isnt working anymore. Could someone give advice on how to realize this in recent Blender versions? Thanks.