📋 Metadata
- Author: roaoao
- Date: 2017-09-26 01:07:11
- Type:
answer - Reply to: post_00986
💬 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.