How to remove vertex colors/vertex groups from multiple objects?

Hello Guys,

is there a way to remove remove vertex colors/vertex groups from multiple (selected) objects with one click?

Thanks

Paste into a text window and run the script to delete all vertex groups from selected objects

import bpy
for ob in bpy.context.selected_editable_objects:
    for vgroup in ob.vertex_groups:
        ob.vertex_groups.remove(vgroup)
3 Likes

Thank you! Am I right I could change vertex_groups to vertex_colors, too?

EDIT: worked like charm (THANKS), but I don’t know the precise naming for vertexcolors.

Hello Richard,

I tried to send you a PM, but your quota seems to be full. Is there any other way to contact you privately? Thanks.

Sorry for bump but how do I change it to vertex colors?

Hello, I would also like to learn how to change it to Vertex Colors, as well as UV Maps

you can use Asset creation toolset addon to remove all vert color for multiple objects

https://github.com/mrven/Blender-Asset-Creation-Toolset

3 Likes

1/ Select all the affected parts
2/ Join (Ctrl J)
3/ Remove Color Vertex, just the once clears it from everywhere
… I found this useful, its not exactly what the OP is after (given this is from 2015, but there are quite a few views) as you have to then unlink the bits again

thx
L

This will removed unlock vertex group only or unlocked also?