📋 Metadata

💬 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