I’m new to scripting in Blender, but not python however supposedly ‘active’ has been removed from bpy.context. I cannot find a single source on google as a work around. There are no direct answers for this question. How would you select an object in Blender 2.8 using the script editor. Moreover, does anyone know of any good docs or reference/cheat sheets on Blender 2.8 (maybe < 2.8 as well) console commands? i.e. bpy, etc.
bpy.context.active_object or bpy.context.object gives you the active object.
For scripting introduction, we have Scripting & Extending Blender in the manual, a tutorial, and also the Python API Reference with some articles and overviews.
I also find messing around in the Python console with tab completion (ctrl-tab) quite helpful to see what’s available.
Thank you very much. Much appreciated!