Post #4117: I don’t really have an easy way of accessing Linux so I can only guess.
📋 Metadata
- Author: Motiomancer
- Date: 2021-10-29 18:53:58
- Type:
answer - Quality Score: 7/10
- Reply to: post_04116
🏷️ Tags
macro hotkeys advanced unsolved
⚙️ Related PME Features
- Macro Editor
- Sticky Key Editor
💬 Content
I don’t really have an easy way of accessing Linux so I can only guess.
The error looks like is not changing modes before executing the operator so you can try replacing bpy.ops.object.mode_set(mode='EDIT') with bpy.ops.object.mode_set('EXEC_DEFAULT', True, mode='EDIT')
Separating every operation in a macro
Or maybe even adding more bpy.ops.transform.translate('EXEC_DEFAULT', True) in between
And as a last resource you can use a Sticky Key and put one command on press and then on release the other.
❤️ 1 likes