# How do I mass-remove UV maps from multiple objects?

I accidentally added 2 UV maps to an object, and the wrong one is selected to be used in the render. The problem is, I have over 100 non-linked duplicated of this object in my scene. How do I remove a UV map from all of them (quickly)?

you may have to join the objects together and simply go into the image texture editor and remove them both with the little negative sign on the right to remove the custom textures in the slot of the object. if you still don't get it please say or if I'm not answering the right problem that you are experiencing.

Thanks and good luck!

• Hi, why don't you add what should the OP do to get back all separated objects, after? That would make this answer much more useful... – m.ardito Apr 3 '18 at 7:20

I'm using Blender 2.8 beta, and this is the modified version of the script I'm using to delete all the unwanted UV Map Layers from all the selected objects at once:

import bpy
selected = bpy.context.selected_objects

bad_uvmap = 'UVChannel_2' # Enter the UV map name you want to remove here
print("Deleting unwanted UV Layers")
for obj in selected:
if obj.type == "MESH":


Hope this helps!

You can use the following script:

import bpy

selected = bpy.context.selected_objects

bad_uvmap = 'UVMap.001' # Enter the UV map name you want to remove here

for obj in selected:
try:

• For 2.8 replace uv_textures with uv_layers – batFINGER Jan 19 at 15:33