📋 Metadata

💬 Content

Hi guys,

How can I set it up so when I press a button it executes a python script?

I have this command assigned to a pie menu:

bpy.ops.transform.resize(value=(1, 1, 0), orient_type=‘GLOBAL’)

but when I select it in the pie menu it activates a scale tool behavior whereas when I execute this in the script editor it gives the desired outcome. Is there a way I can set it up in pie menu editor so it just executes it the same way script editor does?


🔗 View on Blender Artists