
Dear ChimeraX, I am trying to produce a script .cxc to open on ChimeraX and I want to set a specific camera position coordinates that can be opened by anyone. I do obtain the position by just using the command camera, but then I do not know how to obtain that position without saving the view. How should this be written on the command line so that anyone can open it and get that view? For example, I know that PyMol allows the get view command to obtain all the information that later only need to be pasted on the script, is there anything similar? Thank you in advance for your help. Best regards, Aritz

Hi Aritz, To obtain current camera & model matrices, use command: view matrix …and then, conversely, you can use the same command with the matrix or matrices specified to set the positions. For details see: <http://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#matrix> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Feb 15, 2020, at 2:54 AM, Aritz Roa Eguiara <aritz.eguiara@cpr.ku.dk> wrote:
Dear ChimeraX,
I am trying to produce a script .cxc to open on ChimeraX and I want to set a specific camera position coordinates that can be opened by anyone. I do obtain the position by just using the command camera, but then I do not know how to obtain that position without saving the view. How should this be written on the command line so that anyone can open it and get that view? For example, I know that PyMol allows the get view command to obtain all the information that later only need to be pasted on the script, is there anything similar?
Thank you in advance for your help.
Best regards, Aritz

Hi Elaine, Yes! Thank you very much for your help! Best wishes, Aritz
On 18 Feb 2020, at 18:53, Elaine Meng <meng@cgl.ucsf.edu> wrote:
Hi Aritz, To obtain current camera & model matrices, use command:
view matrix
…and then, conversely, you can use the same command with the matrix or matrices specified to set the positions. For details see: <http://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#matrix>
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Feb 15, 2020, at 2:54 AM, Aritz Roa Eguiara <aritz.eguiara@cpr.ku.dk> wrote:
Dear ChimeraX,
I am trying to produce a script .cxc to open on ChimeraX and I want to set a specific camera position coordinates that can be opened by anyone. I do obtain the position by just using the command camera, but then I do not know how to obtain that position without saving the view. How should this be written on the command line so that anyone can open it and get that view? For example, I know that PyMol allows the get view command to obtain all the information that later only need to be pasted on the script, is there anything similar?
Thank you in advance for your help.
Best regards, Aritz
participants (2)
-
Aritz Roa Eguiara
-
Elaine Meng