This renaming script uses a 4 step process for renaming objects. The order of operation is the order of the rollout: 1. Remove, 2. Find and Replace, 3. Edit Name, 4. Misc. So, for example, lets say you have an object named “My_Object_Name” The first operation applied to that name will be to remove first and/or last characters. Lets pretend the first and last values are 2. The object name would now be “_Object_Na” Next the find and replace operation is applied. Lets say “a” should be replaced with “1” The object name would now be “_Object_N1” Next the edit name operation is applied. Lets say the prefix value is “Pre_”, the suffix value is “_Suf” and the numbered mode is active with a padding of 3. The object name would now be “Pre_Object_N1_Suf0001” NOTE: If the “Base” option has a value it will wipe out the original name. So if the base value was “NewName” the object name would now be “Pre_NewName_Suf0001” Finally the misc operations are applied. It might seem overly complicated at first, but trust me, once you get used to it you can perform complex renaming operations with minimal mouse clicks.
First: Remove the defined number of characters from the beginning of the object name.
Last: Remove the defined number of characters from the end of the object name.
Reset (First/Last): Resets the first and last fields to 0.
Find: The characters to search for.
Replace: The characters to replace the find characters.
Match Case: When enabled the find text will be case sensitive.
First Occurence Only: Replace only the first occurence of the find character string.
Prefix: Adds characters to the beginning of the object name.
Base: Replaces the object name with the defined characters.
Suffix: Adds characters to the end of the object name.
Unique Mode (radiobutton): Enable to add characters to the end of the name, helping to create unique names. ‘Numbered’ mode appends i.e. ‘001’, ‘Lettered’ mode appends i.e. ‘A’, ‘None’ will not append anything. NOTE: when ‘Lettered’ mode is active and the letter ‘Z’ is reached the letters will begin to append, so the next object would receive ‘AA’, then ‘BB’, and so on.
Padding: The number of zero’s (0) to use for the ‘Numbered’ mode.
Casing: Change the case to upper or lower. Default is “No Change.”
Shorten Names Longer Than: Will shorten names that end up being longer than the defined value.
Reset All Fields After Rename: When enabled all fields will be reset to their default values after a rename.
Preview New Names (Print Only): When enabled the new names will only be printed to the script editor. This allows you to review the names before committing.
Rename Selected Objects Now: Execute the script and rename the selected objects.
Status: The status of the script.