Post #2272: That hurt my brain haha, I didn’t want a toggle, just to know which mode it was
📋 Metadata
- Author: Way2Close
- Date: 2019-05-12 09:24:16
- Type:
answer - Quality Score: 7/10
- Reply to: post_02271
🏷️ Tags
pie-menu hotkeys intermediate solved
⚙️ Related PME Features
- Pie Menu Editor
- Python Scripting
💬 Content
That hurt my brain haha, I didn’t want a toggle, just to know which mode it was in:
L.alert = True if bpy.context.scene.tool_settings.proportional_edit == 'ENABLED' else False; operator(L, "pme.exec", text="On",icon = 'PLUS' , cmd="C.tool_settings.proportional_edit = 'ENABLED'")
This works perfectly thank you so much