Skip to content

Commands and Transformations

Commands are short text instructions you type to tell RinRename what to do.

For now, most commands can’t be combined with tokens—while you can use it with >>, <<, comma rename and search and replace, the tokens won’t function as intended. Future updates will gradually bring this compatibility.

Syntax: >> text_to_prefix

Selected objects:
input
Result:

Syntax: text_to_suffix

Selected objects:
input
Result:

You can remove a certain number of characters from the start or end of a name using -n or —n , where n is a number.

  • -n removes characters from the left of the name.
    • Example: -1 removes the first character, -2 removes the first two, and so on.
  • —n removes characters from the right of the name.
    • Example: —1 removes the last character, —2 removes the last two, and so on.

Insert text at a specific position in the name using the syntax: +text@position .

  • Example: +hello@3 inserts "hello" after the 3rd character in the name.

Select two objects and use ’ /x ’ to swap their names.

Replace any character that is not a letter (A-Z) or numbers (0-9) with the text within the angle brackets.

Under the hood, the code uses the regex pattern [^A-Za-z0-9]+ to find any characters that are not letters or numbers.

Selected Object

Example 1:

Text Field:
Result:

Example 2:

Text Field:
Result:

Example 3: *There’s a space between the angle brackets

Text Field:
Result:

Example 4: *Any text can be used, not just . , _ - or space

Text Field:
Result:

The active object in Blender is the last item selected in Object Mode. It’s outlined in yellow.

Select multiple objects, making sure to select the source or active object last. Type = (and then press Enter/Ok) to copy from the source name.

Example: Numbering will be added to Target names while Source’s name is not changed.

Selected Object
Input:
Result:

Use ’ == ’ to copy names from first half of the selection to the second half.

Selections is divided by 2 to get the first half and second half, names are then copied from first half to second half

The group comma command allows you to assign different names to objects based on their collections using a specific syntax:

prefix_text_ ( text_one , text_two , ) _suffix_text

The parentheses and commas inside them are required.

This command is particularly useful when renaming objects that exist in multiple collections. The grouped names inside the parentheses will be applied to objects within each collection in order.

For example, if you use (text_one, text_two, text_three), the first collection’s objects will be named text_one, text_two, text_three, and the same pattern will repeat for objects in the second collection, then the third, and so on.

This is especially handy for naming objects across collections with similar structures. For instance, if you have Highpoly, Lowpoly, and Cage collections, you can use this command to ensure objects in each collection share consistent naming while keeping their group distinctions.

Syntax: ( name1, name2, )

  • Enter a name group in parentheses, like (aaa, bbb).
  • Rinrename applies the names in order to objects in each collection.
  • If the collection has more objects than the group, it repeats the sequence until all objects are named.

Selections

Collection A: Object1, Object2, Object3
Collection B: Object4, Object5
Collection C: Object7, Object8, Object9, Object10
Input:

Simplified Output

Collection A: aaa, bbb, aaa
Collection B: aaa, bbb
Collection C: aaa, bbb, aaa, bbb

Note: in actual Blender scene, since names has to be unique, it will turn into the following

Actual Output

Collection A: aaa.001, bbb.001, aaa.002
Collection B: aaa.003, bbb.002
Collection C: aaa.004, bbb.003, aaa.005, bbb.004

which might be confusing, so you might want to pair it with the collection token ;; :

Input:

Actual Output

Collection A: [Collection A] aaa.001, [Collection A] bbb, [Collection A] aaa.002
Collection B: [Collection B] aaa, [Collection B] bbb
Collection C: [Collection C] aaa.001, [Collection C] bbb.001, [Collection C] aaa.002, [Collection C] bbb.002

This command is useful for the following situation:

Selections

HI: Object1, Object2, Object3
LO: Object4, Object5, Object6
CAGE: Object7, Object8, Object9
Input:

Output

HI: cube_HI, sphere_HI, pyramid_HI
LO: cube_LO, sphere_LO, pyramid_LO
CAGE: cube_CAGE, sphere_CAGE, pyramid_CAGE

* Note: Sorry I haven’t update the video above to use the new collection token ;; (~~ is the old collection token)

You can use the prefix and suffix command with group comma:

Input:

If you add an asterisk at the last item before the closing bracket, the items in the group will repeat for all the objects:

Input:
Example of using Prefix and Suffix command with group comma
Example of using Prefix and Suffix command with group comma

Use /d to copy an object’s name to its data name.

Note: Blender doesn’t keep object and data names in sync when using the standard F2 rename or the Batch Rename tool (Ctrl + F2).

RIn.Rename have the option to automatically rename mesh data names.

The /strip command removes extra whitespace from both the beginning and end of an object’s name.

  • /lstrip ( short form: /ls ) – Removes whitespace from the left side.
  • /rstrip ( short form: /rs ) – Removes whitespace from the right side.

The /stripSep command (where sep stands for separator) goes beyond just trimming whitespace—it removes any non-alphanumeric characters (anything not in A–Z, a–z, or 0–9). This includes common separators like -, _, ., and spaces. (In code, it targets [^A-Za-z0-9])

Short forms:

  • /ss – Strip from both sides
  • /lss – Strip from the left side
  • /rss – Strip from the right side

💡 Note: While the name /stripSep suggests it only targets separators, it’s broader and removes any non-alphanumeric characters.

The /camel command converts the core of the name (based on the $ token) into camel case.

How it works:

  • It extracts the core name using the $ token.
  • It joins words if the last character of one word and the first character of the next are letters (e.g., "Character_Armature""CharacterArmature").
  • Words separated by non-letter characters (like "Cube.01" or "v2_4k") won’t be joined.

Selections

01. Cube.01-Main.001
01_Character_Armature_Final.001
Light Rig_v2_4K

Output

01. Cube.01-Main.001 (No Change)
01_CharacterArmatureFinal.001
LightRigV2_4K

The /sc command splits camel case text using a separator.

You can specify the separator like this:

  • /sc:sep
  • /scsep

If no separator is provided, it defaults to the one set in the preferences (Preferences > Naming > Separator).

Selected Object
Input:
Result:

These text transformation commands support tokens: /up , /lo , /title

Example: /up ~2 will transform second word of the object’s name into uppercase. /up ~1~2 will transform the first and second word of the object’s name into uppercase.

Selected Object
Input:
Result: