I’m trying to write a very short bit of python to take all the bones in an armature and alter their names slightly. Currently I’m using the convention “_L” and “_R” for left and right, but I’m trying to use Nathans mirror bone weights script and I believe it requires the convention “.L” and “.R”
I think what I’m trying to do is write a for loop that goes through each name and deletes the _R and replaces it with .R, but I’m really new to python and not sure how to go about that. Also if I manage this will that also update the names of any vertex groups that point to those bones, as if I had changed the bone name manually?
Can anyone help me out?