Post #2915: ![](https://blenderartists.org/user_avatar/blenderartists.org/anminmakura/48/575

📋 Metadata

🏷️ Tags

hotkeys intermediate solved

  • Python Scripting
  • Pie Menu Editor

💬 Content

anminmakura:

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

Hi @anminmakura,
Your code works for me. But looks like selecting tools doesn’t update UI. We have to move the mouse over panel in order to trigger poll method.


❤️ 1 likes


🔗 View on Blender Artists