Post #2080: ac

πŸ“‹ Metadata

  • Author: roaoao
  • Date: 2019-03-22 10:05:51
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_02078

🏷️ Tags

hotkeys configuration stack-key intermediate solved

  • Stack Key Editor
  • Hotkey Configuration
  • Operator Mapping

πŸ’¬ Content

actimelvanille:

in order to have all my menus and shortcuts in 1 place i’d like to have everything inside of pme.
therefore i’d like to also change β€œpan view” to alt-mmb inside of pme.
could anyone who managed to achieve mapping navigation inside of pme tell me which kind of key (sticky or stack, etc) and which line of code to use?

You need to find default hotkey for the tool in the built-in hotkey editor:

pan_view_hotkeypan_view_hotkey712Γ—274 21 KB

Now you can add a stack key in PME with the same keymap (3D View in this case), the same operator (view3d.move in this case) and the same operator properties (in this case all properties use default values):

Command tab:

bpy.ops.view3d.move()

πŸ”— View on Blender Artists