Post #4469: The exec_default has to do more with how blender calls operators, the default mo
📋 Metadata
- Author: Motiomancer
- Date: 2022-07-23 19:29:21
- Type:
answer - Quality Score: 7/10
- Reply to: post_04468
🏷️ Tags
⚙️ Related PME Features
- Python Scripting
- Macro Editor
💬 Content
The exec_default has to do more with how blender calls operators, the default mode invokes “the full” operator sor of speak, but if you have multiple in succession you have to use exec_default that way blender “directly” executes the operator.
For example:
bpy.ops.transform.translate(value=(2.0, 2.0, 2.0))
This one moves the object but you stay in the move operation
bpy.ops.transform.translate('EXEC_DEFAULT', True, value=(2.0, 2.0, 2.0))
This one just moves the object an nothing else
Adam_Szalai:
It’s because it’s not logical or just because it is not working like this, but it should?
Is not working like that, or it starts from the first slot or it just cycles to the next with “remember state” on.
❤️ 1 likes
