Post #2914: Hi.

📋 Metadata

  • Author: anminmakura
  • Date: 2019-12-06 02:22:44
  • Type: question
  • Quality Score: 6/10
  • Replies (1): post_02915

🏷️ Tags

pie-menu hotkeys intermediate unsolved

  • Pie Menu Editor
  • Panel Group Editor
  • Python Scripting

💬 Content

Hi.
I came to ask another question because there was something I didn’t understand in the specifications of Pie Menu Editor.
How do I write to Poll_cmd to specify a Panel Group that only appears when a specific tool is selected?

tool = C.workspace.tools.from_space_view3d_mode(C.mode); return tool and tool.idname == “BoxCutter”

By the way, it is displayed in this way of writing, but it was not hidden when other tools were selected. :sweat_smile:


🔗 View on Blender Artists