[Add-on] as Batch Rename


(asknarin) #1

Hello,

here is my first blender Addon: asBatchRename - quick and easy tool for renaming multiple objects.
Take it from here (Documentation page):
https://asknarin.atlassian.net/wiki/spaces/ASTOOLS/pages/222101505/asBatchRename
or directly from my Bitbucket
https://bitbucket.org/Lutojar/asblendertools/raw/master/as_batch_rename.py

https://asknarin.atlassian.net/wiki/download/attachments/222101505/asBR_01.jpg?version=1&modificationDate=1513292408059&cacheVersion=1&api=v2

Features:

  • Quick rename selected objects or change their existing names in number of ways.
  • Flexible Counter.
  • Ability to preview names before actually renaming them.

i’m new to blender python API so, I’ll very appreciate any feedback from users - thing you don’t like, or possible features you want me to add.
Features now in progress:

  • Strip existing counters (Blender ones - “blahblahblah.001” - by default, but also custom with different padding)
  • Sorting selection options
  • Make use of selected object type (for example to set up default prefixes/suffixes for each type like “geo”, “light”, “group”, etc…)
    and so on

(burnin) #2

Hi, welcome & thank you :slight_smile:

FYI:
Looks like link posted doesn’t work.
“Page Not Found.” :confused: … or no access?


(asknarin) #3

Yeah thanks
should be fixed by now


(urkokul) #4

Thanks for this usefull thing


(asknarin) #5

Hello
my scripts were moved to Bitbucket


(saunam) #6

Thank you for your addon asknarin. I have been using it and it is very useful. I also would suggest you a couple of improvements.

  • Maybe you could add a string replacement option.

  • Also you could let the renaming with counter finish the naming with a dot just before the number, as Blender counting works.

For example when I rename a batch of spheres, they can only finish this way: “sphere-renamed_001”, “sphere-renamed_002”, etc. The problem is that when you duplicate an object in Blender, by default it is named like “sphere.001” (dot, instead of underscore). So when I duplicate a renamed object, it gets a name like “sphere-renamed_005.001”.

Edit: well, I just noticed, you can uncheck Counter and it solves the last issue!

I hope I wrote a good explanation!


(asknarin) #7

thanks for feedback!

Maybe you could add a string replacement option.

Already in my TODO list

Also you could let the renaming with counter finish the naming with a dot just before the number, as Blender counting works.

I’ll try to do that in more convinient way for the next update.

But unfortunately couldn’t promise any eta on this - Im hardcore busy at the moment