You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i know that it is somewhat possible since i've copy pasted rudimentary scripts to do so but it would be much handier to do so through a UI like this addon's
The text was updated successfully, but these errors were encountered:
sorry for not getting back to you, i was locked out of my account for a while due to needing to move my 2fac to my new phone.
basically what i did to rename bones was a code somewhat similar to this:
import bpy
obj = bpy.context.active_object
prefixes = ["ORG-", "DEF-", "h_", "x_"]
bpy.ops.object.mode_set(mode='OBJECT',toggle=True)
for obj in bpy.context.selected_objects:
for g in obj.vertex_groups:
for prefix in prefixes:
if g.name.startswith(prefix):
g.name = g.name[4:]
which was to remove prefixes as defined in the array named as such.
there was also this code for adding a prefix as well.
import bpy
obj = bpy.context.active_object
for obj in bpy.context.selected_objects:
for g in obj.vertex_groups:
g.name = 'DEF-' + g.name
i know that it is somewhat possible since i've copy pasted rudimentary scripts to do so but it would be much handier to do so through a UI like this addon's
The text was updated successfully, but these errors were encountered: