# Mesh Extra Objects - operator panel is empty when using api instead of gui

If I use bpy.ops.mesh.primitive_solid_add() (which should do the same, I see the api-call in the info-window at the top which is normally hidden) the operator panel stays empty.
How can I use bpy.ops.mesh.primitve_solid_add() and get the right operator panel contents.