Post #2336:
Ma
📋 Metadata
- Author: roaoao
- Date: 2019-05-22 22:31:15
- Type:
answer - Quality Score: 8/10
- Reply to: post_02334
- Replies (1): post_02337
🏷️ Tags
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
MatsuikoHiroka:
i like to create a Macro Transform - Rotate
with Z-AXIS , 0 degree without entering modal so i can combine it with re-lasti tried this codes
NO DEFAULT EXEC ( debug mode recorded , it only enters modal mode doesnt enter the 0 value automatically )
PME/Blender ignores 'EXEC_DEFAULT' value in macro operators. Will try to fix that.
Surrounding the code with parentheses should help.
(bpy.ops.transform.rotate('EXEC_DEFAULT', True, value=(0.0, 0.0, 1.0), orient_axis='Z', orient_type='GLOBAL', orient_matrix_type='GLOBAL', constraint_axis=[False, False, True]))