📋 Metadata

💬 Content

anphung:

So I still have no idea how to use the Property Editor.
Can I make a button that toggles these commands?
bpy.ops.pme.pm_enable_by_tag(enable=False, tag=“Toggle Hidden Panel Group”)
bpy.ops.pme.pm_enable_by_tag(enable=True, tag=“Toggle Hidden Panel Group”)

Here is an example (video). Use this code in On Update slot:

bpy.ops.pme.pm_enable_by_tag(enable=props(menu), tag="Toggle Hidden Panel Group")

🔗 View on Blender Artists