Post #5476: : post_05477
🏷️ Tags
pie-menu hotkeys advanced solved
⚙️ Related PME Features
- Python Scripting
- Pie Menu Editor
- Custom conditions
💬 Content
kalpit3d:
return any(a.spaces.active.tree_type ‘SverchCustomTreeType’ for a in C.screen.areas if a.type ‘NODE_EDITOR’)
You know what?
Actually your code also wouldnt work and gives those red indication about it.
The problem is what we cant directly copy&paste this code into forum message, because this → ’ symbol will be changed. Sorry, i wasnt aware of such issue.
Direct copy&paste from forum message:
How those symbols actually should look like:
Also i tested your code and it seems what it actually will open PIE menu absolutely everywhere in case you have an sverchok nodes editor opened somewhere.
Mine code will open PIE only if you really in sverchok nodes (i.e. if your mouse are somewhere in sverchok editor window).
❤️ 3 likes
scr1713×257 20 KB
scr2821×199 16.1 KB