Post #1952:
bl
📋 Metadata
- Author: roaoao
- Date: 2019-02-13 10:32:05
- Type:
answer - Quality Score: 8/10
- Reply to: post_01951
- Replies (1): post_01953
🏷️ Tags
macro scripting intermediate solved
⚙️ Related PME Features
- Macro Editor
- Python Scripting
- Command tab
💬 Content
blndrusr:
Is there a way to collapse entire modifiers stack in all selected objects with PME?
Try something like this (Command tab):
[setattr(m, "show_expanded", False) for o in C.selected_objects if o.type == 'MESH' for m in o.modifiers]; tag_redraw(area='PROPERTIES')