Post #988:
Wa
π Metadata
- Author: roaoao
- Date: 2017-09-26 01:07:11
- Type:
answer - Quality Score: 8/10
- Reply to: post_00986
π·οΈ Tags
popup-dialog hotkeys intermediate
βοΈ Related PME Features
- Popup Dialog Editor
- Python Scripting
- Panel Group Editor
π¬ Content
Way2Close:
Hey guys, anyone know if there is a way to hide everything in the βTOOLSβ panel, and then have a pie or popup dialog where you could click a button to show certain panels?
Try scripts/command_panel.py script.
Open panel by name:
from .scripts.command_panel import open_panel; open_panel(name="Grease Pencil", region='TOOLS')
Open panels by tab:
from .scripts.command_panel import open_tab; open_tab("Tools", region='ANY')
Restore hidden panels:
from .scripts.command_panel import restore_panels; restore_panels()
You can modify the script but donβt forget to rename it.