Renamer v1.2#
What does it do#
Advanced Renamer with naming, extended numeration, prefix, suffix and search & replace functions. Extras include format options and automated processes for a faster workflow.
Interface#
Compatibility#
Maya | 2017 | 2018 | 2019 | 2020 |
---|---|---|---|---|
✓ | ✓ | ✓ | ✓ |
Installation#
-
Copy Renamer.py to :
-
Launch / Restart Maya
-
In Maya, open a Python Tab in the Script Editor and execute :
Warning
Please make sure that there are no Space characters in front of the code lines.
Video Overview#
Tool Menu#
The Tool menu is located in the top right corner of the toolkit.
-
Up arrow collapses all tabs
-
Down arrow expands all tabs
-
Reset icon resets everything to default
-
Question icon is a direct link to the online documentation
-
Stack icon opens a new window with information about the tool
Name#
-
Enter a new name for your selected object(s).
Info
To get the name of the current object selection MMB 2 click on the REN button.
-
Specify the Renamer's numeration behaviour when more than one object is selected:
-
Start sets where the counter starts. Default is 1.
-
Step defines the counter increase. Default is 1.
-
-
Padding
- RMB 3 click on REN to choose from different padding options.
- Abc adds 3 letters at the end and counts them up. (Example: name_aaa, name_baa, name_caa etc - when the first letter arrives at z the second one goes up: name_aba, name_bba and so on)
- Numeric defines the digit amount. It adds leading zeros before nonzero digits to match the given value.
- The default is set to numeric with a value of 3.
-
LMB 1 click the REN button to start the naming process. The script automatically sorts the objects within their parent group.
Note
REN button
LMB 1 : Run script
MMB 2 : Get name of selected object
RMB 3 : Option Menu
Option Menu options:
Padding
- Abc
- 1
- 2
- 3
- 4
- 5
- 6
- 7
Prefix#
Info
Adds a prefix to the object name.
-
Select one or multiple objects
-
Select a preset prefix option from the RMB 3 menu.
-
or choose input and enter a custom name.
-
The Add button starts the naming process.
Note
ADD button
LMB 1 : Run script
RMB 3 : Option Menu
Preset options:
- input
- C_
- L_
- R_
- Frnt_
- Back_
- Top_
- Btm_
Suffix#
Info
Adds a suffix to the object name.
-
Select one or multiple objects
-
Select a preset suffix option from the RMB 3 menu.
-
or choose input and enter a custom name.
-
The Add button starts the naming process.
Note
ADD button
LMB 1 : Run script
RMB 3 : Option Menu
Preset options:
- input
- _grp
- _geo
- _crv
- _lgt
- _jnt
Search & Replace#
Search for and replace them with custom words or characters.
Extras#
Format#
-
RMB 3 click on the Format button to choose:
-
Uppercase converts all characters to uppercase.
1 2
!!! example abc > ABC
-
Lowercase converts all characters to lowercase.
1 2
!!! example ABC > abc
-
Capitalize converts only the first character to uppercase.
1 2
!!! example abc > Abc
Remove#
-
RMB 3 click on the Remove button to set the removal amount (1-5).
-
Select one or multiple objects.
-
LMB 1 click on the Remove button to delete characters from the start
-
MMB 2 click on the Remove button to delete characters from the end
Automate#
RMB 3 click on the Automate button to choose:
-
Name Grp Children renames all children within a group, based on their group name.
-
Auto Add Suffixes automatically adds suffixes to common types within the scene, unless the suffix is already in place.
Note
Affects geometry (_geo), group (_grp) and curve (_crv) objects.
-
Fix Duplicate Names adds suffix numbers to all object names that are identical within the scene.