Post #3207: Hi @Zelfor,
π Metadata
- Author: roaoao
- Date: 2020-04-25 14:16:16
- Type:
answer - Quality Score: 7/10
- Reply to: post_03205
- Replies (2): post_03208, post_03209
π·οΈ Tags
macro hotkeys advanced unsolved
βοΈ Related PME Features
- 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