Post #2037: ![](https://blenderartists.org/user_avatar/blenderartists.org/roaoao/48/37600_2.

📋 Metadata

🏷️ Tags

pie-menu scripting intermediate unsolved

  • Pie Menu Editor
  • Python Scripting

💬 Content

roaoao:

[operator(L, "pme.exec", text=ng.name, icon='CHECKBOX_HLT' if C.space_data.node_tree == ng else 'CHECKBOX_DEHLT', cmd="C.space_data.node_tree = D.node_groups['%s']" % ng.name) for ng in D.node_groups]

Hey roaoao, thanks so much for you answer. Tried it out, i’m wondering if there is a way to describe a condition so that only animation nodes node groups art called up. Currently my material groups are also being brought up.


🔗 View on Blender Artists