Thanks, Elaine and Tom!
I believe I can solve it relatively easily by combining the "view matrix" and the remote control. But this will only allow the client to control the server, not the other way around, unless making a reverse connection. With three windows, this would become complicated. So, I might still take a look into the meeting command. But it is very good to know the remote control command.
I dream of having about 2-4 viewports whose cameras can be toggled to sync. Ideally, each viewport should be able to select a camera and select whether to lock with that camera. I do see the possibility of multiple cameras while reading the code before. The motivation is mainly for comparative analysis. The use case can be analyzing the same structure by different drawing styles, or by showing the whole in one view while hiding some parts in the other. The use case can also be analyzing structures with slight differences after matchmaker. Overlaying the structures is good in some cases, but the occlusion and clutter are often an issue. Tile mode is helpful in some cases already. But it has an issue that the camera perspective is not exactly the same for each tile. Figures with left and right panels showing the same region can be seen in publications. When there are only a few structures and a few left-right images are needed, this can surely be achieved by typing the commands manually. But in the case of analyzing many similar structures (10-100, or even more), an automatic solution would be much better. For my specific case, those many similar structures come from AI-driven protein design workflows.
Having only the camera synced would be already great. The rest can be done by the user in different windows, and the rest sometimes are window-specific, too. I think the following would do the job. Branch the meeting command code and rename it to, for example, "CameraSync". Keep only the camera settings and remove all the rest. In addition, it should be better to communicate with a local server instead of a public server.
Best,
Roden