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
-
$\begingroup$ I don't know of any way besides python.. $\endgroup$– gandalf3 ♦Mar 23, 2015 at 2:45
-
3$\begingroup$ I wrote an add-on to handle these types of situations: blenderartists.org/forum/… $\endgroup$– proxeFeb 3, 2016 at 18:26
-
$\begingroup$ 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 $\endgroup$– GlifTekMay 2, 2020 at 17:48
1 Answer
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
-
1$\begingroup$ This code saved me from having to manually rename the UVs on about 50 different objects by hand, lol $\endgroup$ Nov 13, 2015 at 4:26