Post #2124: ac

📋 Metadata

  • Author: roaoao
  • Date: 2019-03-27 17:16:57
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_02123

🏷️ Tags

macro hotkeys advanced solved

  • Macro Editor
  • Python Scripting

💬 Content

actimelvanille:

I cannot find out what the code for “drag action = scale” is when using the transform tool.

Try this code:

C.workspace.tools.from_space_view3d_mode(C.mode).gizmo_group_properties("TRANSFORM_GGT_gizmo").drag_action = 'SCALE'

🔗 View on Blender Artists