How to create or control camera, to get capture of a view, with C++ or other Code?

I want to use a script to control the position and focus of a free camera (similar to SHOWCASE viewpoint control) for screenshot operations. How to achieve it? For example, setting the camera above a certain latitude and longitude, taking a screenshot from a top-down angle, and setting the height of the camera.

Can it be achieved solely using the MSFS SDK (SimConnect) interface? I saw in the official document SimConnect SDK that you can set the camera: “Control an additional camera that the user can optionally select to view.”

But I couldn’t find the interface to set up the camera in the official documentation link of SimConnect API Reference

1 Like

I have send this event, but how can I find pictures? I have not get picture in this path.
image

still waiting for solution, I do not get result.