📋 Metadata
- Author: roaoao
- Date: 2022-01-27 13:21:32
- Type:
answer - Reply to: post_04175
- Replies (1): post_04180
💬 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()