Post #2915: : post_02916
🏷️ Tags
⚙️ Related PME Features
- 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