I’m looking for a script to name all objects of my scene by the name of their layer.
I found this topic. The Python script work, but i want a different name for every object, exactly like the SetObjectName command do, with the counter.
For example :
If there are 4 objects in the layer named “My_Layer”,
i want the script to name those objects : “My_Layer_1”, “My_Layer_2”, “My_Layer_3”, “My_Layer_4” and this for all layers in the scene.
If anyone can help me …