Changing Pre-sets for modifiers via python gui

It’s cool that the entire interface is python driven (in props panel) I have a question I’ve done some looking into (blenders source files before compiling)

  • can I change the modifiers, not the GUI layout w/ python but the actual settings when applied

I have specific in mind

MIRROR *show in edit mode

  • apply on edit cage

in subsurf I would like the same. so what I’m trying to know if it’s possible is to make some arguments true when modifier is applied via the interface.

anyone know if I can fix this via python, or if I have to modify the C source code.
what I want to do is change settings by default for the modifiers, (show in edit mode, and apply on edit cage)

have a look at the command with BPY op or bpy struc
usually most of the parameters can be set !

do you have an example of this thing your talking about ?

happy 2.5