Post #1918: ![](https://blenderartists.org/user_avatar/blenderartists.org/z01ks/48/564304_2.

📋 Metadata

🏷️ Tags

macro macros intermediate solved

  • Macro Editor
  • Pie Menu Editor
  • Python Scripting

💬 Content

z01ks:

I am trying to create a Macro that adds a Bevel Modifier with certain settings, and then adds a Weighted Normal Modifier. However, it seems as if adding multiple modifiers doesn’t work. The Macro will only add the last modifier in the list.

Yep, macros don’t support multiple operators with the same ID (object.modifier_add in your case).
There is a workaround in PME. Just put the code in parentheses:

(bpy.ops.object.modifier_add(type='BEVEL'))

z01ks:

I am encountering another issue though. Sometimes the buttons in my Pie Menus seem to be changing places or disappearing. Is it known why this could be happening?

This can happen if a pie has errors in Custom tab. Can you export and pm me the pie?


❤️ 1 likes


🔗 View on Blender Artists