Post #3207: Hi @Zelfor,

πŸ“‹ Metadata

🏷️ Tags

macro hotkeys advanced unsolved

  • Macro Editor
  • Python Scripting

πŸ’¬ Content

Hi @Zelfor,
You can try this code:
Line1 (Command tab:)

ts = C.scene.tool_settings; pp = ts.transform_pivot_point; ts.transform_pivot_point = 'ACTIVE_ELEMENT'

Line3 (Command tab):

ts.transform_pivot_point = pp

But unfortunately 3rd line won’t be executed if you cancel the resize tool.
Will add some tool to achieve what you want in the next version.


❀️ 1 likes


πŸ”— View on Blender Artists