Post #2846: : post_02847
🏷️ Tags
pie-menu hotkeys configuration advanced solved
⚙️ Related PME Features
- Pie Menu Editor
- Custom Icons
- Python Scripting
- Hotkey Configuration
💬 Content
z01ks:
how do I set a hotkey/pie button for something like Set Offset From Cursor, as well as Reload (reload blend file in Outliner)?
These only seem to work when the mouse is over the Properties or Outliner, respectively.
Some operators require extra context data. You can add data to the context using context_pointer_set(name, data) function in Custom tab.
Eg. Set Offset From Cursor operator requires a collection.
L.context_pointer_set("collection", D.collections["Collection"]); L.operator("object.instance_offset_from_cursor")
Reload operator works only in Outliner.
❤️ 3 likes