Post #3414: Try this:
📋 Metadata
- Author: Zelfor
- Date: 2020-07-04 20:19:32
- Type:
answer - Quality Score: 8/10
- Reply to: post_03411
- Replies (1): post_03415
🏷️ Tags
pie-menu hotkeys intermediate solved
⚙️ Related PME Features
- Pie Menu Editor
- Python Scripting
- Custom Icons
💬 Content
Try this:

Line1:
bpy.ops.object.ml_modifier_add(‘EXEC_DEFAULT’, True, modifier_type=‘SUBSURF’)
.
Line2:
bpy.ops.object.ml_modifier_add(‘EXEC_DEFAULT’, True, modifier_type=‘CAST’)
.
Video Demo:
.
I made a file for you … I hope I helped!
Xmaiter Pie Menu Editor - [2.83].json (593 Bytes)
image1039×299 27.8 KB
image1029×297 26.5 KB