Post #1952: bl

📋 Metadata

🏷️ Tags

macro scripting intermediate solved

  • 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')

🔗 View on Blender Artists