Format Rename is an addon that allows batch renaming of objects in a format way.
Its unique features are:
Numbers
{#} : 1,2,3,...
{##} : 01,02,03,...
{##,-1} : -01,00,01,...
Alphabet
{A}: A, B, C, ..., Y, Z, A, ...
{a}: a, b, c, ..., y, z, a, ...
{AA}: A, B, C, ..., Y, Z, AA, AB, AC, ...
{Aa}: A, B, C, ..., Y, Z, Aa, Ab, Ac, ...
{-AA}: A, B, C, ..., Y, Z, AA, BA, CA, ...
{-Aa}: A, B, C, ..., Y, Z, Aa, Ba, Ca, ...
Context
{self}: the original name of the item
{parent}: the name of the parent object
{active}: the name of the currently active item
{scene} : the name of current scene
{view_layer} : the name of current view layer
Type (object only)
{data}: refers to the data name of the object. An empty object will return an empty value.
{Type}, {type}, {TYPE}: refers to the object's type, shown in title case, lowercase, or uppercase format.
{pref}: refers to a custom replacement word based on the object's type.
Bone Only
{user}: refers to the armature name the bone belongs to.
{def,DEF-}: if use_deform in bone is be enabled,it will retrun DEF-. If not, it will return an empty value.
By default, when obtaining the selection list, items are arranged by their name.
When selection order is enabled, the tool will record the selection order.
This allows certain standardized replacement terms to execute in order and also enables grouping.
Replacement Terms Using Selection Order
{#}, {A}, {a}, {Aa}, {AA}, {-Aa}, {-AA}
Enabling Selection Order also Allows Grouping Functionality
This feature directly uses the Python re module, meaning you can use patterns to search for and match objects.
Select
Selected Only: When disabled, it searches across the entire scene; when enabled, it filters within the selected items.
Flags
ASCII Only: Executes ASCII-only matching with \w, \W, \b, \B, \d, \D, \s, \S
Ignore Case: Executes case-insensitive matching.
Pattern Example
^ : Matches the start of the string
$ : Matches the end of the string
[^\x00-\x7F]+ : Matches not ASCII in string
...
Changelog Fix: Change blender_manifest tags --> System
This extension does not require special permissions.
it's a really useful and powerful tool. But i think the undo-function could have been supported better. If you rename 100 objects and press undo, in un-renames just the last object. So you have at least press undo 100 times to undo your operation which is quite painful if you have big scenes.
Thanks for letting me know!
This issue has been fixed, and version 0.0.5 has been released.
Like a charm.