Post #1598: You can use this code to hide/unhide/toggle a panel group by NAME (Command tab

📋 Metadata

  • Author: roaoao
  • Date: 2018-10-14 17:43:43
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_01597

🏷️ Tags

panel-group scripting intermediate solved

  • Panel Group Editor
  • Python Scripting
  • Property Editor

💬 Content

You can use this code to hide/unhide/toggle a panel group by NAME (Command tab):

toggle_menu("NAME", True)



toggle_menu("NAME", False)



toggle_menu("NAME")

Or you can add a checkbox (Property tab):

prefs().pie_menus["NAME"].enabled

I’ll try to add Filter by Name option to the list of menus in the next version.


❤️ 1 likes


🔗 View on Blender Artists