I’m trying to change the value of bpy.context.scene. I read that
`
scene = bpy.data.scenes[1]
bpy.data.screens[“SceneName”].scene = scene
bpy.context.screen.scene=scene
`
is supposed to work, but I only noticed the change after the script had finished. I also tried using scene.update() in several places but it didn’t work.