[chimerax-users] Set view

Elaine Meng meng at cgl.ucsf.edu
Tue Feb 18 09:53:09 PST 2020


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 at 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




More information about the ChimeraX-users mailing list