📋 Metadata
- Author: Adam_Szalai
- Date: 2024-04-01 16:03:22
- Type:
question - Reply to: post_05081
- Replies (1): post_05083
💬 Content
Hey, that’s the one! 
You are the best!
Your marco is working, now i try to setup mine as the same as yours, but i already failed to achieve this command:
bpy.ops.mesh.extrude_region_shrink_fatten(TRANSFORM_OT_shrink_fatten={‘value’: 1.0})
How did You generated this one?
I tried with builtin tool, and via from quicksearch, but no luck yet
Anyhow Thank You for the WIN hint!
Hmm ok, now i try to start the macro from OBJECT mode, and even if i copy your slot with copy slot, it fails with error.
floatgeo_41_from_object.json (2.5 KB)
this json only contains the:
-enter to edit mode
-select face selection mode
-select all
-and then the shrink fatten op
if i disable the shrink fatten it works, if i enable it, it fails.
Also if i add the enter edit mode (bpy.ops.object.mode_set(‘EXEC_DEFAULT’, True, mode=‘EDIT’)) to YOUR macro, and i set the macro from MESH to WINDOW, the macro also fails.
And another interesting additional info
If i put the enter to edit mode into a separated macro and call that macro and the actual push extrude ect macro in another macro, then it works also from starting in object mode 