Post #22: JoseConseco, exporting menus to the code is an interesting idea, but I’m not sur

📋 Metadata

  • Author: roaoao
  • Date: 2016-03-01 04:40:36
  • Type: answer
  • Quality Score: 7/10
  • Replies (1): post_00026

🏷️ Tags

pie-menu custom-operators intermediate

  • Pie Menu Editor
  • Python Scripting
  • Custom Operators

💬 Content

JoseConseco, exporting menus to the code is an interesting idea, but I’m not sure if that’s possible (too many dependencies from add-on’s code).

Also feature reques: could you make those operators from custom pies, work on all selected objects? So eg. if I add ‘display type: wire’ operator, pie menu would iterate over all selected objs, not just active one?

This feature is already implemented. You can achieve that using simple python code:


🔗 View on Blender Artists