📋 Metadata
- Author: roaoao
- Date: 2018-01-03 15:20:27
- Type:
answer - Reply to: post_01169
💬 Content
MickHanks:
It seams when I add and object I automatically go into edit mode, even with Pref/Editing/New Object: Enter Edit Mode unchecked. Also the same Enter edit mode is unchecked in my EPM setup. anyone else?
bpy.ops.mesh.primitive_cube_add(view_align=False, enter_editmode=False, location=(0.0, 0.0, 0.0))
The code works for me (cube stays in object mode).