Post #4177: ![](https://blenderartists.org/user_avatar/blenderartists.org/mickhanks/48/77779

šŸ“‹ Metadata

šŸ·ļø Tags

pie-menu hotkeys intermediate solved

  • Command tab
  • Stack Key Editor
  • Python Scripting

šŸ’¬ Content

MickHanks:

I’m tring to build a PME to add a Sphere and also f9 at the same time. The result is the Mesh Edit Menu would be open ready to go.

Try this code in Command tab:

bpy.ops.mesh.primitive_uv_sphere_add('INVOKE_DEFAULT', True); bpy.ops.screen.redo_last('INVOKE_DEFAULT')

Or add a new stack key with 2 slots (Command tab):

bpy.ops.mesh.primitive_uv_sphere_add()



bpy.ops.screen.redo_last()

šŸ”— View on Blender Artists