Post #2583: When I add a command item, can I add command sequence like this
📋 Metadata
- Author: loveordie
- Date: 2019-08-06 06:16:44
- Type:
question - Quality Score: 6/10
- Replies (2): post_02584, post_02586
🏷️ Tags
macro command-sequences beginner unsolved
⚙️ Related PME Features
- Macro Editor
- Python Scripting
- Command Items
💬 Content
When I add a command item, can I add command sequence like this
- add a cube
- edit mode
3,bevel the cube
bpy.ops.mesh.primitive_cube_add(enter_editmode=False, location=(0, 0, 0))
bpy.ops.object.editmode_toggle()
bpy.ops.machin3.edit_mode()
bpy.ops.mesh.bevel(offset=0.444553, offset_pct=0, vertex_only=False)
How can I put these command sequence in one command item?
I mean, I press this button, and the object will execute the command sequence automatically

work same like this addon