Post #4739: Also, it appears that the cause of the error is due to the addition of newline d
📋 Metadata
- Author: Pluglug
- Date: 2023-06-01 15:22:29
- Type:
bug_report - Quality Score: 8/10
- Reply to: post_04736
🏷️ Tags
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
Also, it appears that the cause of the error is due to the addition of newline data to the Matrix format description when executing bpy.ops.pme.pmi_cmd_generate() (the Apply button in the lower right corner). It seems that this would normally not be an issue, however, the problem only becomes apparent when it is executed within a Macro.
# Original command
bpy.ops.transform.resize(value=(1.0, 0.0, 1.0), orient_type='GLOBAL', orient_matrix=Matrix(((1.0, 0.0, 0.0), (0.0, 1.0, 0.0), (0.0, 0.0, 1.0))))
# After executing bpy.ops.pme.pmi_cmd_generate()
bpy.ops.transform.resize('EXEC_DEFAULT', True, value=(1.0, 0.0, 1.0), constraint_axis=[True, True, True], orient_matrix=Matrix(((1.0, 0.0, 0.0),
(0.0, 1.0, 0.0),
(0.0, 0.0, 1.0))))
❤️ 1 likes
image1347×716 101 KB