Post #4522: and still wizardy denied to me 
1-i’m trying to call a triangulate modifier with parameters, but no success:
`
bpy.ops.object.modifier_add.TriangulateModifier(‘EXEC_DEFAULT’, True, quad_method=‘BEAUTY’, ngon_method=‘BEAUTY’)
`
It looks logical to me 
I checked this as a (working) reference:
bpy.ops.geometry.attribute_convert(‘EXEC_DEFAULT’, True, mode=‘UV_MAP’)
2-Plus i’m struggling with selection modes from the begining.
Would be cool to make a command that remember what my last selection mode was, if i switch from selection to another mode (like transalate rotate or object/edit modes).
i’m only using the box and circle selection, and i’m using lasso or tweak separately.
I already tried with stack key but it didn’t make the work (similar to the vertex/edge move/slide, which has solved by wizardy scripting :))
3-I tried macroing delete vertex group but it only deletes when a vertex group is already added.
If there is no vertex group, the macro stops at the delete vertex group command.
Is there a way to tell in macro to delete all vertex group no matters if there is 0 or multiply?
Or more important, is there a way not stopping a macro if a command can’t executed?
For example delete all modifiers is working even if there is no modifier in the system.