Call for a script!

Hi - I’m quite in programming so I’m asking here. Does anyone here could write a script that would change names of every bone thats name ends with R into L. And the same with vertex groups names. :slight_smile: I would be soooooooooooooooo greatful

Look at my Mirror Tool, it does vertex groups mirroring and also changes vertex group names. Unfortunately, it hasn’t bone renaming.

It would be a simple thing to get the bone renaming, the process would be.

armature = Blender.Armature.Get('mirror')
for i in range(0,len(armature.getbones())):
     str = armature.bones[i].getname()
     str = str.remove("R")
     str = str + "L"

don’t quote me on that code i doubt it works but it would be the process simplified a bit and the syntax is probably messed.