This is the third part to a three part tutorial on renaming objects in Maya. In the first installment we established a collection of procedures and a simple UI that allows multiple objects to be renamed. In the second installment we evolved this tool to utilize an custom sorting method and improved the UI.
The previous system for sorting while functional limited our ability to do more sophisticated renaming. We're going to address these issues and introduce a neat system for managing object lists:
- Ultimately we want to support an extended set of rename options (Prefix, Suffix, Find & Replace, exclusions) along with the standard rename and numeric incrementation
This is the second part to a three part tutorial on renaming objects in Maya. In the first installment we established a collection of procedures and a simple UI that allows multiple objects to be renamed.
Some issues were identified with the methods used previously and so in this next stage I'm going to evaluate the procedures and improve the script. Specifically this tutorial will address the following issues:
- The previous script is a handy quick renamer but doesn’t always produce unique names for all objects
- Numerical increments with good padding options
- The UI was over simplified and could be improved with more options
If you've ever done any scripting in Maya or even tried to clean up you scene a bit I'm sure you've run into some of Maya's quirks with how it handles object names. Specifically it gets real tricky when dealing with nodes that share duplicated names and renaming whole chains of nodes.
To help demystify what's going on I thought I'd run through the development of a 'rename' tool that will cover ways I've found to resolve these issues.