Hi I have these objects in a scene, of which some only have a Build modifer, and others may have a Build modifier and other modifiers (Bevel, etc..)

I would like to remove the Build modifier from all of these objects, but for those objects that have other modifiers preferrably the other modifiers are kept.

If this is not workable, please alternatively advise how to remove all modifiers from all selected objects instead.

Thanks in advance!



1 Answer 1

from bpy import data as D

for ob in D.objects:
    for mod in ob.modifiers[:]:
        if mod.type == 'BUILD':
  • $\begingroup$ Fantastic, thank you $\endgroup$ Sep 19, 2023 at 4:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .