Post #1976: Hi,
📋 Metadata
- Author: StroBlend
- Date: 2019-02-18 11:19:17
- Type:
showcase - Quality Score: 7/10
🏷️ Tags
v1-20-x macro hotkeys intermediate
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
Hi,
I share this useful basic command in case someone would be interested. (updated by Roaroao for 2.8)
It works in object and edit mode and move the selection to the world origin:
2.8
loc = C.scene.cursor_location.to_tuple(); C.scene.cursor_location = (0, 0, 0); O.view3d.snap_selected_to_cursor(use_offset=True); C.scene.cursor_location = loc