I have 2 objects in my scene. I only want to do the following simple thing and for some reason every solution I encounter online fails. I want to iterate over all the objects in the scene. for each, I want to set it active and scale it up by 2. Tried something like the following:
for obj in bpy.context.scene.objects:
# Here I need some line that makes obj the active object!
another thing that I fail to do is add a cube and then a sphere and then go back the cube and add a boolean modifier that specifies the sphere (as I cannot change the active object, it tries to assign a boolean modifier with itself and fails). thanks.
I use blender 3.4 if it matters.