Post #4031: Yes there is a way to do it with PME but you have to manually list the addons. B
📋 Metadata
- Author: kkostovas
- Date: 2021-09-01 03:59:11
- Type:
answer - Quality Score: 7/10
- Reply to: post_04030
- Replies (1): post_04032
🏷️ Tags
popup-dialog hotkeys intermediate solved
⚙️ Related PME Features
- Panel Group Editor
- Property Editor
- Python Scripting
💬 Content
Yes there is a way to do it with PME but you have to manually list the addons. Basically you create a toggle for the plugins visibility on the n-panel.
-
Add a hidden panel group
-
Add the panel you want to hide with the + key in the hidden panel group
-
Add a tag to the hidden panel group and assign it
-
Add a property
-
Click on show advanced settings
-
Where it says ‘On Update’ click and add this line
bpy.ops.pme.pm_enable_by_tag(enable=props("property_name"), tag="tag_name")
change the “property_name” and “tag_name” accordingly.
Then just make a button with PME and assign this property.
I will try to make a small example tomorrow just in case I got something wrong.
I really wish this whole process could be automated somehow.