Post #853: I’m trying to put autokey frame toggle on a pie, I put “bpy.context.scene.tool_s
📋 Metadata
- Author: FrankieH
- Date: 2017-09-15 09:41:35
- Type:
question - Quality Score: 6/10
- Replies (1): post_00854
🏷️ Tags
pie-menu hotkeys intermediate unsolved
⚙️ Related PME Features
- Pie Menu Editor
- Python Scripting
💬 Content
I’m trying to put autokey frame toggle on a pie, I put “bpy.context.scene.tool_settings.use_keyframe_insert_auto = not bpy.context.scene.tool_settings.use_keyframe_insert_auto” under the command and it works, the problem is the UI doesn’t update and the button is wrong until I mouse over the animation window. Any ideas how to force an update?
Edit, I’m also struggling to get the ui layout and scenes list added to a pie menu (from the top left part of the screen)