DESCRIPTION
Renames multiple objects. Optionally, appends the node type
of the object as a suffix. For example, if the object is a NURBS surface,
and you give it the name 'dog', the object will be named 'dog_nurbsSurface_1'.
Also works on shading networks! Useful for automating naming conventions.
Now allows user-defined aliases! All you have to do is edit the $aliases
array in the oaRenamerAliases procedure. For example, if the node type suffix is 'mesh',
you can replace it with 'poly' like this:
string $aliases[] = {
"mesh", "poly"
};
For more examples, see the oaRenamerAliases procedure.
New Consonants Only checkbox! Many naming conventions omit vowels from
the node type suffix. For example, if the node is called 'Dog_group_1', checking
this option will call the node 'Dog_grp_1'. This checkbox will work fine
in conjunction with the Aliases checkbox.
TO USE
Copy all the mel scripts in this zip into your scripts directory and restart Maya.
Execute 'oaRenamer' to bring up the UI.
Select some objects, enter a new name, and press 'NUMBER PAD ENTER' to confirm.
HISTORY
v1.4 (November 2, 2005)
o Reorganized the code to be more modular
v1.3 (October 12, 2005)
o Added Consonants Only checkbox
v1.2 (October 5, 2005)
o Now allows user-defined aliases!
v1.1 (October 5, 2005)
o More error checking
o Prints details to the Script Editor
o Pressing 'Enter' will confirm only if name is different
o Pressing 'Number Pad Enter' will always confirm
v1.0 (October 2, 2005)
o Original Release
IF YOU ENJOY THIS MEL SCRIPT, PLEASE RATE IT. I WOULD APPRECIATE IT. THANK YOU!
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.