Project: Blender Extensions
Tracker: Py Scripts Contrib
Author(s): Oscurart, meta-androcto
Script name: Object Name Edit
Wiki page: http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Object/Object_Rename
Related: 25214 25242
This script adds a couple of operators that allow you to edit the name for all selected objects in any of a number of ways:
Rename all to same name (with suffices added by blender)
Replace string in names, using RegEx or shell wildcards
Add suffix and/or prefix
Truncate beginning and/or end of name
Transfer names Object<->data, or Object<->DupGroup
The operators rely on a patch to the python API (tracker #21680, link below*), which will add the invoke_props_dialog() method.
I'm submitting both a patch that will add the script to the release folder, including add a menu item for the script in the 3d view space Object menu, and the standalone script file.
* Link to python API dependency patch: