Grim-es / material-combiner-addon

Blender addon for material combining, uv bounds fixing
MIT License
450 stars 36 forks source link

[Question] Possible to Deselect ALL? #55

Closed KazyEXE closed 1 year ago

KazyEXE commented 1 year ago

Hello!

I have a scene with a very large amount of smaller objects (5,000+), plus one large object with lots of materials.

Is it possible to deselect EVERYTHING? When using Material Combiner, it defaults to selecting every material. I want to only select the materials on the large object. Going through every other object one by one deselecting them isn't feasible.

Grim-es commented 1 year ago

Hello, it's not possible to deselect all through the UI. But you can do it with a custom script. Open a Text Editor window, write this code and click the Run Script button:

import bpy

for i in bpy.context.scene.smc_ob_data:
    i.used = False

image

KazyEXE commented 1 year ago

Thanks! I ended up separating out my Blender file of the objects and the combined object, but this helps a lot!