📋 Metadata
- Author: roaoao
- Date: 2020-04-25 14:16:16
- Type:
answer - Reply to: post_03205
- Replies (2): post_03208, post_03209
💬 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