Renamer 2.0#
Installation#
Compatibility#
| Maya | 2019 | 2020 | 2022 | 2023 | 2024 |
|---|---|---|---|---|---|
| ✓ | ✓ | ✓ | ✓ | ✓ |
How to install#
-
Extract the RS_Assets folder from the RS_Assets.zip
-
Extract RS_Renamer.pyc from RS_Renamer_MAYAVERSION.zip (depending on your Maya Version)
-
Copy RS_Renamer.pyc or RS_Renamer.py (Studio Version) and the RS_Assets folder to:
Attention
If an RS_Assets folder already exists in the location below, please copy the RS_Renamer folder (from inside the extracted RS_Assets folder) and paste it into the RS_Assets folder in the location below.
-
Launch / Restart Maya
-
In Maya, open a Python Tab in the Script Editor and execute :
Attention
Please make sure that there are no Space characters in front of each code line.
Environment Variables#
-
To set and use a custom folder location, please open the Maya.env file.
-
Add the following lines to the Maya.env file:
MAYA_SCRIPT_PATH = path\to\your\custom\script\folder PYTHONPATH = path\to\your\custom\script\folder RS_TOOLS_PATH = path\to\your\custom\script\folderAttention
- Replace path\to\your\custom\script\folder with the actual path to your scripts.
- Make sure there is no forward slash (/) or backward slash (\) at the end of the path.
Interface Basics#
Tool Menu#
Renamer tools
Renamer preferences
About / Links / Shortcuts
Tool Settings#
Indicator
A blue line at the bottom of a button indicates that optional tool settings are available.

How to open?
Open the settings with a RMB 2 click.
Position & What settings are open?
-
The settings widget will appear at the bottom of the tool.
-
The background of an icon button turns dark gray to indicate it's settings are currently open.

How to close?
To close the settings page RMB 2 click the active button again.
Tooltips#
- Hover over a button until a tooltip shows up.
- Tooltips include information about available Modifier Alt Ctrl Shift and RMB 2 settings options.

Please make sure that tooltips are enabled!
In Maya's main menu go to:
Windows > Settings / Preferences > Preferences > Interface > Help
and check DisplayToolClips under PopupHelp
Expand / Collapse tabs#
It is possible to expand or collapse all tabs on an active page.
Expand
Ctrl click on
![]()
Collapse
Alt click on
![]()
Note
A settings page will automatically close when expand or collapse all tabs is used.
Keyboard Shortcuts#
It is possible to control aspects of the tools interface with keyboard shortcuts.
Access pages
1 - Renamer Page
2 - About Page
3 - Toggle Tool Menu Visibility
Requirements
The tool needs to have focus, for the shortcuts to work.
Expand / collapse tabs
Ctrl + 1 to expand all tabs on the Renamer Page
Alt + 1 to collapse all tabs on the Renamer Page
Attention
This only works on the currently active page.
Minimize to main menu
Alt + 3 to minimize the tool

About Page#
Access the About page by clicking on ![]()
The page contains information about the tool, several web links and an option to set up hotkey shortcuts.
Interface - About Page#

Create Hotkey Shortcuts#
Click on the Create Hotkey Shortcuts button to make multiple functions available within Maya's hotkey editor.

Info
Access the Hotkey Editor under Windows > Settings/Preferences > Hotkey Editor
Preferences#
Set preferences for the default naming convention.
How to use
- Click on
in the tool menu to open the preferences window. -
-
Naming

Set your preferences for
-
Prefix

-
Suffix
Note
The first three rows are used for group, geometry and curve suffix preset shortcuts throughout the tool.

-
Material Tags

- Enter a new Material name in the second row and press Enter to add it to the list.
- To delete materials from the list, please select one or multiple list items and click Del .
-
Renamer#
Interface#

Name#
Rename one or multiple objects within your scene.
How to use
- Select object
-
Enter a new name for your object
Tip
To get the name of the current object selection Alt click on the N button.
-
RMB 2 click the N button to open the settings widget.
- Specify the Renamer's numeration behaviour within the settings page.
- LMB 1 click the N button to start the naming process. The script automatically sorts the objects within their parent group.
How to use: Additional functions
-
- Ctrl click the N button
Select by name:
Wildcards
The Name textfield supports wildcards in connection with the Select by name function
-
Sort Outliner selection:
- Shift click the N button
Settings

- Padding
- 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.
- Start (Sets where the counter starts.)
- Step (Defines the counter increase.)
Prefix#
Adds a prefix to the object name.
How to use
- Select one or multiple objects
- Select a preset prefix option from the RMB 2 settings menu.
- or choose input and enter a custom name.
-
Click on the P button to start the naming process.
Shortcuts
Alt click on the P button: L_
Ctrl click on the P button: R_
Shift click on the P button: C_
Settings

Suffix#
Adds a suffix to the object name.
How to use
- Select one or multiple objects
- Select a preset suffix option from the RMB 2 settings menu.
- or choose input and enter a custom name.
-
Click on the S button to start the naming process.
Shortcuts
Alt click on the S button: _geo (Or whatever is set as a Geometry suffix within the preferences)
Ctrl click on the S button: _grp (Or whatever is set as a Group suffix within the preferences)
Settings

Search & Replace#
Search for and replace words or characters.
How to use
- Select one or multiple objects
- Enter a name in the search text field
- Enter a name in the replace text field
-
Click on the R button to start the naming process.
Shortcuts
Alt click on the R button: Automatically swaps L_ and R_ prefixes
Extras#
Format#
How to use
-
LMB 1 click on
: Uppercase converts all characters to uppercase.Example
abc > ABC
-
Alt click on
: Lowercase converts all characters to lowercase.Example
ABC > abc
-
Ctrl click on
: Capitalize converts only the first character to uppercase.Example
abc > Abc
Remove#
How to use
- Select one or multiple objects.
- LMB 1 click on
: Removes one character from the start - Alt click on
: Removes one character from the end

Automate#
How to use
-
LMB 1 click on
: Name Grp Children renames all group children, based on their group name.
-
Alt click on
: 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. (Suffixes depend on what is set within the preferences)

-
Ctrl click on
: Fix Duplicate Names adds suffix numbers to all object names that are identical within the scene.
-
Shift click on
: Fix Shape Names fixes shape names of selected objects.
Material Tags#
How to use
- Select one or multiple objects
- RMB 2 click
to open the settings - Choose a material from the list
- LMB 1 click on
to add the material tag. If the object already has a material tag, it will be automatically replaced. -
To remove a material tag Alt click

Attention
4 & 5 only work with listed materials. If the object has a material tag that is not on the list, it adds an additional tag.

Note
The preceding underscores and the material list can be adjusted in the Renamer Preferences (
) under Material Tags.
Minimalist Mode#
Info
Opens a single line interface that has a minimal workspace footprint and opens right under the mouse cursor position.
Setup#
How to set up
- Go to the Renamer About Page (
) - Click on Create Hotkey Shortcuts
- Open Maya's Hotkey Editor (Windows > Settings/Preferences > Hotkey Editor)
- In the Hotkey Editor, under Edit Hotkeys for choose the Custom Scripts category
- Under Custom Scripts, expand RS Renamer
- Set Keyboard Hotkeys for Minimalist Mode and Swap L R

Name#
How to use
- Select one or multiple objects
- Use the Keyboard Hotkey set in the Editor (See How to set up above) to open the Minimalist interface
-
Name: Enter a name for the object(s). When multiple objects are selected the script will automatically add numeric padding according to the Renamer Preferences (
)
-
Prefix#
How to use
- Select one or multiple objects
-
Prefix: Enter a prefix and end the line with a < (Less-than sign) character. The < character indicates that the preceding text is a prefix.
Example
L_<

Suffix#
How to use
- Select one or multiple objects
-
Suffix: Start the line with with a > (Greater-than sign) character and add a suffix. The > character indicates that the following text is a suffix.
Example
>_geo

Search / Replace#
How to use
- Select one or multiple objects
-
Search / Replace: Enter a search string, a : (colon) and a replace string. With the : inbetween the character strings, the tool will search for what is in front of the colon and will replace it with what comes after the colon.
Example
search:replace

Swap "L_" and "R_"#
How to use
- Select one or multiple objects
-
Swap L and R: Use the Keyboard Hotkey set in the Editor (See How to set up above) to swap the position prefix from L_ to R_ and vice versa.
