I have been searching on Internet for a while and I only have found this piece of code (from this site)
import bpy
scene = bpy.context.scene
for o in scene.objects:
if o.type == 'MESH':
for m in o.modifiers:
bpy.ops.object.modifier_remove(modifier="Smoke")
But it didn“t work for me. It only removes the modifier from the active object, not for all the objects in the scene.
What am I doing wrong?
Thanks pals.