When you call bpy.ops.mesh.solidify()
Blender will add the mesh but NOT show you the solidify dialog. To adjust it you have to press F6.
I assumed that adding bpy.ops.redo_last()
afterwards would do the trick but I think this does not work as expected as no UI appears. And if I press F6 I think a UI opens that appears more to show the dialog for the class I defined and not the solidify command that is part of the class.
Do you have an idea how you have to script this so when executing the script the solidify command is executed and then the F6 menu for the solidify command will be displayed.
class SolidifyDialog(bpy.types.Operator):
bl_idname = "solidify.dialog"
bl_label = "Solidify Dialog"
bl_options = {'REGISTER', 'UNDO'}
def execute(self, context):
bpy.ops.mesh.solidify()
bpy.ops.redo_last()
return {'FINISHED'}