0
$\begingroup$

I have multiple objects in the scene which I'd like to rename in ascending order at once.

Before enter image description here

After enter image description here

$\endgroup$

1 Answer 1

0
$\begingroup$

We can do this with Batch Rename.

  1. Select all objects to be renamed. Make sure the first objekt is the active one enter image description here

  2. Give objects a new name starting with suffix .001 enter image description here

  3. Delete new name without last character and assign new name. enter image description here

  4. That´s it enter image description here

By script:

import bpy

objs = bpy.context.selected_objects
active_int = int(bpy.context.active_object.name)

for obj in objs[1:]:   # without active one
    obj.name = str(active_int + objs.index(obj))
$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .