Blendshapes¶
Blendshapes¶
- renameBlendshape(blendshapeNode, blendAttrOld, blendAttrNew, message=True)¶
Function for renaming blendshape target attributes. Annoying because cmds does not support it and blendshapes are index’s with aliased names.
Loops over the blendshape and queries the index to find the alias’s name then replaces the alias if a match.
Credit, original version from Evan Cox http://blog.evancox.net/2016/07/27/renaming-blendshape-targets/