I’m running the script below on the default start-up blend file, and the cube is selected with a deep orange color. See attached image.
When the cube is selected with this deep color it can’t be change in to Edit mode!
I’m confused by this, does anyone know how to modify the script below and take the cube into edit mode?
from bpy import context
ob = bpy.data.objects[‘Cube’]
ob.select = True