📋 Metadata

💬 Content

If you know what you need to do, why not just specify an argument to Exec?
This is an example of setting the Y-axis scale to 0.

bpy.ops.transform.resize('EXEC_DEFAULT', True, value=(1.0, 0.0, 1.0), constraint_axis=[False, True, False])

Any other method would be a complex or unusable implementation.


🔗 View on Blender Artists