Post #567: : post_00568
🏷️ Tags
popup-dialog panel-management intermediate solved
⚙️ Related PME Features
- Popup Dialog Editor
- Panel Group Editor
- Python Scripting
💬 Content
panosz:
Is it possible to do the same with Pop-Up Menus inside panels? I mean the way you suggest to hide/show panels?
kalipsotri:
What I’m trying to do is simply the same thing as I can do with the Hidden Panel Group, but with faster access to make it vertical side menu more readable. Because currently is a mess.
You can try to use this script - command_panel.py.zip (1.05 KB). It allows to open the sidebar and display only 1 tab/category or 1 panel.
Extract it to pie_menu_editor/scripts folder.
Usage (Command tab):
Open panels by tab/category:
from .scripts.command_panel import open_tab; open_tab("Tools")
Open panel by name:
from .scripts.command_panel import open_panel; open_panel("3D Cursor", region='ANY')
Restore hidden panels:
from .scripts.command_panel import restore_panels; restore_panels()
