Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a joint chain and I would like to duplicate it twice and rename the 2 duplicate chains with _IK_ and _FK_ suffixes. My problem is that both chain are being renamed with the same suffix, in this case '_IK_'
can anyone help me with this please?
Code below and image attached (for better reference):
for index in range(0,2):
mylist = cmds.duplicate(rr=1, st=1)
if index == 0:
pm.mel.searchReplaceNames("result", "IK", "hierarchy")
if index > 0:
pm.mel.searchReplaceNames("result", "FK", "hierarchy")
Solved! Go to Solution.