Post #1954:
bl
📋 Metadata
- Author: roaoao
- Date: 2019-02-13 13:42:59
- Type:
answer - Quality Score: 8/10
- Reply to: post_01953
- Replies (1): post_01955
🏷️ Tags
macro scripting advanced solved
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
blndrusr:
I used a wrong naming though. What I meant was to APPLY all the modifiers
Almost the same:
[bpy.ops.object.modifier_apply(dict(object=o), apply_as='DATA', modifier=m.name) for o in C.selected_objects if o.type == 'MESH' for m in o.modifiers]; tag_redraw(area='PROPERTIES')