Post #2117: ![](https://blenderartists.org/user_avatar/blenderartists.org/pinhead/48/528486_

📋 Metadata

🏷️ Tags

pie-menu hotkeys configuration intermediate solved

  • Pie Menu Editor
  • Object non-modal keymap
  • Poll method

💬 Content

Pinhead:

It is possible to create pie menus that only works when curves, gpencil is selected and different pie menus when mesh, object is selected? With the same key.

Try to use Object non-modal keymap and a poll method. Something like this:

Curves and gpencil:

return C.object and C.object.type in ('CURVE', 'GPENCIL')

Mesh objects:

return C.object and C.object.type == 'MESH'

❤️ 1 likes


🔗 View on Blender Artists