I am working with multiple objects that have different UV names, I would like to know if there is a quick solution for renaming UVs of all the objects to UVMap
Asked
Active
Viewed 1.0k times
11
-
I don't know of any way besides python.. – gandalf3 Mar 23 '15 at 02:45
-
3I wrote an add-on to handle these types of situations: http://blenderartists.org/forum/showthread.php?272086-Addon-Name-Panel-1-5 – proxe Feb 03 '16 at 18:26
-
Also, I'd add to Chebhou's script, you can iterate them. I just named mine after the object they belonged to. import bpy for obj in bpy.context.selected_objects : for uvmap in obj.data.uv_layers : uvmap.name = obj.data.name – GlifTek May 02 '20 at 17:48
1 Answers
17
select all objects and run the script :
import bpy
for obj in bpy.context.selected_objects:
try:
obj.data.uv_layers.data.uv_layer_stencil.name = 'UVmap'
except:
continue
Django Unchain
- 3
- 2
Chebhou
- 19,533
- 51
- 98
-
1This code saved me from having to manually rename the UVs on about 50 different objects by hand, lol – Zauberin Stardreamer Nov 13 '15 at 04:26