Save Gui Camera/Viewport configuration

Hi,

We are currently running experiment in which we want to visualize both the default perspective view and a robot-wrist-camera.

At the moment, at each startup of the simulator I add this by going to Window->2nd Viewport->Change the viewport to the camera.

Is there an option to directly startup the simulator with this configuration (2nd viewport and camera selected) instead of having to select it manually every time? I know it’s possible to load carb settings via opts = carb.settings.get_settings().set("persistent/app/viewport/displayOptions", 3159), I was wondering if something similar exists for this?

We start the simulator through python via simulation_app = SimulationApp({"headless": headless, "physics_gpu": sim_device}, experience=experience)

Thanks a lot for your help.

Hi @daniel.honerkamp - You can probably do that through the script.

Hi @rthaker ,
thanks for the reply. I did try to do it through opts = carb.settings.get_settings().set("persistent/app/viewport/displayOptions", 3159), but that did not save the viewport settings.

Which is why I was wondering if there is any other way to save these kinds of GUI settings?