I have many layers with many objects with many booleans. Is there a way I can "un-display" all of them in the viewport?

enter image description here

Essentially, I'd like all boolean modifiers (across all objects and layers) to have the "eye" icon un-clicked.

  • $\begingroup$ Does any of the shapes have any other modifiers? $\endgroup$ – Neil Giliomee Nov 5 '16 at 6:31

There is no built-in way but a small python script can do what you want.

import bpy

for o in bpy.data.objects:
    for m in o.modifiers:
        if m.type == 'BOOLEAN':
            m.show_viewport = False

You just need to paste this into blender's text editor and click the run script button. You can change the last line from False to True to turn them all on again.


Remove the modifiers from one object. Select all the other objects you want to remove the modifiers from, making sure you select the object with no modifiers last. Press ctrl + L and select Modifiers.

All the modfiers will be cleared from every object you selected.

  • $\begingroup$ Sweet. Will this REMOVE modifiers? Or just hide them from being displayed in the viewport? $\endgroup$ – dman Nov 6 '16 at 20:59
  • $\begingroup$ Sorry didn't read the questions right. If you only want to hide the modifier, just hide it instead of removing it on the first object. $\endgroup$ – Neil Giliomee Nov 7 '16 at 6:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.