I wrote a script for blender 2.5.3 wich allows batch renaming of objects, much like comet_rename script for maya.
I find 2.5 python API well exposed, yet I incurred in some limits. I don’t know if it’s me, or insufficient documentation, but I could not have an input field in panels if not by layout.prop() function, wich only accepts blender objects and not operators or any custom object. Or buttons, I had to create an operator for any button and use the layout.operator() function. Is there a good way to have input fields or “do it” buttons in custom panels?
Anyway, here’s my script
Looks like that:
Once executed in the text editor, or added as addon in user prefeferences, it creates a voice in Objects menu.
It also can be called as console command bpy.ops.pk_tools.GUI_rename(), or, for console execution, bpy.ops.pk_tools.rename(…arguments…)