Hello, I’m trying to open a scene from the script editor. I found this command:

bool closeSceneAndOpen (String &envName, String &jobName, String &sceneName, String &versionName)

But I cant make it work.
Could anyone provide a working example for this?
Thanks in advance.

Hi , i only test on toonboom connected with database not in offline mode (stand alone).

For close and open a scene you can use this :

scene.closeSceneAndOpen(env,job,scene,“current scene”)

first argument is the Environement of your project
second is the job
third the scene
and last is the version of your scene , generaly you ll open the last version of your scene

hope , it will help