Skip to content

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#

Screenshot

Compatibility#

Maya 2017 2018 2019 2020

Installation#

  1. Copy Renamer.py to :

    \Users\USERNAME\Documents\maya\MAYAVERSION\prefs\scripts
    
    $HOME/maya/MAYAVERSION/prefs/scripts
    
    $HOME/Library/Preferences/Autodesk/maya/MAYAVERSION/prefs/scripts
    
  2. Launch / Restart Maya

  3. In Maya, open a Python Tab in the Script Editor and execute :

    import Renamer as REN
    REN.MainClassRen()
    

    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#

  1. 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.

    Screenshot

  2. 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.

  3. 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.
  4. 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.

  1. Select one or multiple objects

  2. Select a preset prefix option from the RMB 3 menu.

    Screenshot

  3. or choose input and enter a custom name.

  4. 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.

  1. Select one or multiple objects

  2. Select a preset suffix option from the RMB 3 menu.

    Screenshot

  3. or choose input and enter a custom name.

  4. 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

    Screenshot

Automate#

RMB 3 click on the Automate button to choose:

  1. Name Grp Children renames all children within a group, based on their group name.

    Screenshot

  2. 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.

    Screenshot

  3. Fix Duplicate Names adds suffix numbers to all object names that are identical within the scene.

    Screenshot


  1. LMB - Left Mouse Button 

  2. MMB - Middle Mouse Button 

  3. RMB - Right Mouse Button