Post #5082: Hey, that’s the one! : post_05083
🏷️ Tags
macro intermediate unsolved macro-scripting
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 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 