Post #4152: ![](https://blenderartists.org/user_avatar/blenderartists.org/shubhampatilart/48

πŸ“‹ Metadata

  • Author: roaoao
  • Date: 2021-12-26 13:41:14
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_04148

🏷️ Tags

pie-menu hotkeys configuration beginner intermediate solved

  • Pie Menu Editor
  • Command tab
  • Keymap tab
  • Python scripting

πŸ’¬ Content

ShubhamPatilArt:

Can I add shortcut from any add-on to pie menu

Hi @ShubhamPatilArt,
Yes, you need to find a shortcut in Edit - Preferences - Keymap.
For example 3D View - Set 3D Cursor.
Copy an identifier - view3d.cursor3d.
And use it in Command tab in your pie like this:

bpy.ops.view3d.cursor3d()

In some cases you just need to use Keymap tab in your pie and set a shortcut you want to activate with the pie. But sometimes this method doesn’t work.

In some cases you need to select the same keymap for the pie (eg. 3D View for Set 3D Cursor)


❀️ 4 likes


πŸ”— View on Blender Artists