Python Blender выберите объект по имени
bpy.data.objects['object_name'].select_set(True)
Fabrice Hategekimana
bpy.data.objects['object_name'].select_set(True)
bpy.data.objects['OBJECT'].select = True
import bpy
sleobj = bpy.context.selected_objects