There is an option to rename existing characters set up with HumanIK. I want to script this. Any ideas?
Rename Character HumanIK through code
Dustin
#2
Got it figured out.
#rename rigs
import maya.cmds as cmds
import maya.mel as mel
name= "HIK"
for char in cmds.ls(type = "HIKCharacterNode"):
#rename HIKCharacterNode
new_name = cmds.rename(char, name)
#rename Character
mel.eval('hikSetCurrentCharacter("{}");'.format(new_name))
mel.eval('hikRenameConnectedNodes("{}","{}");'.format(new_name, char))