📋 Metadata
- Author: roaoao
- Date: 2019-12-06 19:57:51
- Type:
answer - Reply to: post_02914
- Replies (1): post_02916
💬 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