Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any way to remove a modifier from multiple objects in Blender?

So, I'm doing a 5,000 frame animation for school (high school film making project, and I just want to look cool) and I just realized, while looking at the final render, that I have a subsurf modifier on some of my grass.

Horrible mistake, made by yours truly.

The issue is that I'm going for a lowpoly aesthetic, and this grass stands out like a sore thumb. I have somewhere in the range of 500 particles, and about 10% of them are subsurfed. It'd be great to know if there's a way to select a group of meshes and then enable/disable modifiers for all of them. Any help is appreciated :)

P.S. happy first post to me!

like image 223
ABuzzedWhaler Avatar asked Oct 15 '25 13:10

ABuzzedWhaler


1 Answers

You can use python script, e.g.

import bpy
for o in bpy.context.selected_objects:
    for m in o.modifiers:
        if(m.type == "SUBSURF"):
            o.modifiers.remove(m)

(use blender's builtin text editor and run script, or write/paste it directly into builtin python console)

Or instead of removing modifier you can disable its effect via e.g. m.show_render = False.

like image 162
keltar Avatar answered Oct 18 '25 20:10

keltar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!