Hello everyone, i'm new on this list! I posted this as a bug on the blender tracker but Bastien pointed me here to see if this is a bad usage of the API issue.<div><br></div><div>Currently i'm writing a blender exporter for JSON and my own binary version of JSON and i'm having a problem when switching scenes to export all my file's scenes. The fact is that i can't poll edit modes from objects that are on another scene besides the one currently selected on the editor.</div>

<div><br></div><div>I have done this with the scene i want to export:</div><div><div>    bpy.context.screen.scene = scene</div><div>    bpy.context.screen.scene.update()</div></div><div>But to no avail. Anyone has any idea what can i do to switch the scene via python? My exporter is here <a href="http://code.google.com/p/blender-machete/" target="_blank" style="font-size: 13px; color: rgb(17, 85, 204); font-family: arial, sans-serif; background-color: rgb(255, 255, 255); ">http://code.google.com/p/blender-machete/</a> feel free to grab the source.</div>

<div><br></div><div>An here's a <a href="http://pae.st">pae.st</a> of the code <a href="http://pae.st/PdWF/">http://pae.st/PdWF/</a> so you can edit it in there.</div><div><br clear="all">John Villar<br>Cell: (058)(416)926.86.45<br>


</div>