[chimerax-users] Recreating views

Elaine Meng meng at cgl.ucsf.edu
Thu May 21 09:51:01 PDT 2020


Hi Martin,
Yes, in ChimeraX the way to do this is with named views.  You can have several different named views in a single session file.  We do not have saveable "scenes" (changes in display, color etc.) yet, just the positioning part, the views.  So if there were lots of display changes between your figures it would be better to save separate sessions.  If the main difference between figures is positioning (or very simple display changes like hiding one model), then you could consider saving multiple views in the same session file.

<http://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#name>
<http://rbvi.ucsf.edu/chimerax/docs/user/commands/save.html#session>

Another thing you may be interested in is reporting and applying matrices, but to me that just seems like a more difficult way to accomplish the same thing as using named views.

<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 May 20, 2020, at 12:41 AM, Martin Montgomery <mgm at mrc-mbu.cam.ac.uk> wrote:
> 
> Hi,
> I have a session file that contains everything I need to make figures for a paper.  With pymol, I saved the get_view matrix in a text file for each view which meant that with one session file I could easily recreate the views if I needed to go back and tweak a figure.  In ChimeraX, the closest way that I found to replicate this was to use named views.  Am happy to supply a session file if it helps also happy to be educated if there is a better way of doing this, especially as now the ChimeraX session files can get rather large.
> Cheers
> MGM




More information about the ChimeraX-users mailing list