Post #4490: Does anybody else have issues with the Poll method in the Advanced settings? To
📋 Metadata
- Author: Tarnish
- Date: 2022-08-07 07:47:01
- Type:
question - Quality Score: 7/10
🏷️ Tags
pie-menu hotkeys configuration intermediate unsolved
⚙️ Related PME Features
- Pie Menu Editor
- Hotkey Configuration
- Python Scripting
💬 Content
Does anybody else have issues with the Poll method in the Advanced settings? To me it seems very picky/unreliable.
For example, I tried using return C.area.ui_type == “GeometryNodeTree” and return C.area.ui_type == “ShaderNodeTree” , (both set to the Node Editor Keymap) so that I can invode different menus in the Shader Editor and the Geometry Node Editor using the same hotkey.
Am I missing or misunderstanding something?