Post #1962: Hi,

📋 Metadata

  • Author: StroBlend
  • Date: 2019-02-13 17:00:08
  • Type: question
  • Quality Score: 6/10

🏷️ Tags

v1-20-x macro hotkeys intermediate unsolved

  • Macro Editor
  • Python Scripting
  • Hotkey Configuration

💬 Content

Hi,
Previously in 2.79 I was using this command to have my selection (in object mode or edit mode) that moves to the world origin. Any chance to have this useful command back to my 2.80 setup ?

loc = C.space_data.cursor_location.to_tuple(); C.space_data.cursor_location = (0, 0, 0); O.view3d.snap_selected_to_cursor(use_offset=True); C.space_data.cursor_location = loc

🔗 View on Blender Artists