Post #3817: Hi,
📋 Metadata
- Author: IvanB
- Date: 2021-04-01 06:02:40
- Type:
question - Quality Score: 5/10
- Replies (1): post_03818
🏷️ Tags
pie-menu hotkeys beginner unsolved
⚙️ Related PME Features
- Pie Menu Editor
- Python Scripting
💬 Content
Hi,
Wondering if someone can help please.
I have added a list of my favorite modifiers to a pie menu (works great) however I’d like for the modifiers menu to open (or the ui to switch to the modifiers tab) when adding the modifier.
I know nothing about coding
a simple explanation would be great.
I tried this: bpy.ops.object.modifier_add(type=‘SUBSURF’),bpy.context.space_data.context = ‘MODIFIER’
I just added the second part after the bracket (got it from “info” tab) hoping it would work…It didn’t
Thanks
Ivan.
❤️ 1 likes