I’m looking for a way to change the prefixe of some objects created in a scripts.
Ultimately, what i’d like is having the artist click on a button. That would pop a window where he would be asked to write the name of the Character he wants to rig.
That name would then replace the “placeholder” prefixe that is place in the script. So Entering “John” in the window would change one of the objects name for example:
MyChar_Bone_Arm_Right for John_Bone_Arm_Right.
I don’t want to do it with the Rename Tool because the name would need to be changed in the script before running it, since i’m using the name of certain objects in custom attributes to perform various action.
I would like to find a way that is simpler in the long run than to change it manually in the script before running it. Something more intuitive to the user, like a window where he writes the Characters name and he can than move on to rigging the character.
Thanks for your time and have a nice long week-end all!