I thought I'd include a video showing how inconsistent Search and Replace names have become in Maya 2025. Can this be looked at and included in the next update?
https://youtu.be/8E-NEHq-Sbg
Have you witnessed this with any other scenes?
I've been trying to make this happen as you show. and cannot reproduce.
couple things of note :
is the curve an instance?
is the curve referenced ?
have you tried it in Maya 2025.3 ? *( the latest release )
in that scene, have you tried renaming the items using cometRename ?
You should never name anything "expression" as that is a mel command.. ( similarly don't use "string" )
I just tried it in 2024 and can't make it fail there either.
-=s
Hi Stephen thanks for looking into this. Yep, it has messed up in other scenes as well. These are just duplicate hierarchies, with no out of the box plug-ins enabled. This is only happening in Maya 2025, so no need to test it in 2024. This seams to be happening on objects that have duplicate hierarchies (as in my example). This has now happened in scene directly and through mel and python scripts. The naming choice doesn't make a difference, as it happens with simple names like index, middle, smile, frown....etc. If I click the "apply" button more than 3 times it tends to work (most of the time), but this should not be the solution. This is also something that has been noticed by my colleagues, and should be addressed ASAP.
if you could share a file that might help,. ( doesn't have to be a full file., just an example file of a scene that doesn't work )
I tried all sorts of things to mess up the naming ,, and they all work as expected.
A lot of peoples scripts mess up because of naming within a hierarchy.
so if you have
mouth_grp | mouth_offset | mouth_ctl
And when you rename it uses a long name. that can sometimes mess up as the parent gets renamed first. .and then the following children no longer. but that should throw an error.
another issue is clashing node names.. often renaming scripts will mess up on that as they aren't using long names correctly in the script.
but that too should throw an error .
( maya does not like clashing node names. ( as most operations are based on name).. when duplicating I always recommend turning on the "rename children" option.
but I'm not getting that from modify | Search replace names either.
(nor from cometRename )
and sorry, but to double check , this is maya 2025.3 ( and not 2025.2 )
hth
-=s
This definitely seems to be something specific to Maya 2025. When I get home, I'll send a file your way.
Can't find what you're looking for? Ask the community or share your knowledge.