Scenario in Java

Hi,
I was reading HowTo_RunScenario.java, and I would like to know if there is a way to export the created scenario to a JSON file.
Afterward, I would like to load and run the exported file.

In HowTo_RunScenario.cpp, I noticed that scenarios are exported using the SerializeToFile method, but the SEScenario class in Java doesn’t seem to have this method.

Thank you

1 Like

The API naming convention in Java is not normalized yet to the latest conventions,

Have you tried experimenting with the readFile and writeFile methods in SEScenario?

I’ve just tried it, and it seems to work correctly with the readFile and writeFile.

Thank you!