
Hi Roden, The ChimeraX meeting command is to allow multi-person virtual reality sessions. It is pretty complex, about 3000 lines of code, and is intended to keep everything synchronized, if one person in VR makes a change in their ChimeraX then the others in the session see the same change. It works by sending any ChimeraX command that any person in the session does to the other instances of ChimeraX to run the same command. It is fragile for many reasons and complex (3000 lines of Python code). Another mechanism where one ChimeraX could send another ChimeraX instance a command is using "remotecontrol" https://www.cgl.ucsf.edu/chimerax/docs/user/commands/remotecontrol.html This uses http protocol. ChimeraX can listen on a port like a web server and receive commands from clients (e.g. another ChimeraX or some structure analysis software) to show data or do anything that is possible to do by commands. In general inter-process communication is a pain to implement, does not work very reliably, and is especially difficult for users to manage. So you should have a compelling reason to try to make multiple ChimeraX communicate. You didn't give any indication what the benefit would be. Tom
On Feb 24, 2025, at 1:20 AM, Roden Deng Luo via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi,
I wonder if there is a way to synchronize two or more ChimeraX instances/sessions. For example, sync the camera.
The meeting command (https://www.rbvi.ucsf.edu/chimerax/docs/user/commands/meeting.html), a great command I just got to know, is very close to what I am looking for. Only I will have different data in different instances, and toggles to enable and disable what features to be synced.
If it is not currently implemented, how should I approach it as a developer?
Many thanks, Roden
This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email._______________________________________________ ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/