Post #4177: : post_04180
š·ļø Tags
pie-menu hotkeys intermediate solved
āļø Related PME Features
- 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()