Grim-es/material-combiner-addon

[Question] Possible to Deselect ALL?

KazyEXE opened this issue · 2 comments

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.

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

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