Hi Elaine,

I've been playing around with it but I can't get to what I want.
The second option of saving views works within a session, but it is lost if I restart ChimeraX or changes session, so what I'm looking for is really some numbers to place in a script so I can touch up my figure for publication multiple times.

Using "clip list" does list me an offset for the "far", as I modified it:
Using 1 clip planes:
far offset -1.5964, axis 0.032,-0.040,0.999, point 106.7,107.9,112.8)

I am trying to reproduce the view with:
view matrix camera 0.051145,-0.99818,0.03201,113.43,0.99794,0.049838,-0.040387,99.325,0.038719,0.034009,0.99867,323.92
clip front 0 far -1.5964

(and varying flavors) but it doesn't recreate the same view. The clipping offset is much more drastic with my command line compared to the manual twicking of the far plane.
Could you please point me in the right direction?
Thank you
Vincent


Le 22/08/2023 à 17:08, Elaine Meng a écrit :
Hi Vincent,
You can report current clip settings in the Log with command:

clip list

<https://rbvi.ucsf.edu/chimerax/docs/user/commands/clip.html>

More to your point, however, you can save the current view (which includes the clipping plane positions) with command:

view name myviewname

....of course you can name it something else, and you can have multiple saved views with different names.  Then later in the same session, either not quitting ChimeraX between, or from saving a session file after you saved the view(s) and later restoring the session from the file, you can get back to that view with command:

view myviewname

...there are various command options, like gradually moving to the view over a number of frames as is often done for recording a movie, see the help:
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#name>

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

On Aug 22, 2023, at 3:34 AM, vincent Chaptal via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:

Hi, 

I opened the side view dialog window and adjusted the view planes for a nice figure. 
I would like to save the parameters so I can go back and modify the figure at a later stage, but the setting are not stored in the "view matrix" command. 
Could you tell me which command can save these settings? (I'm using chimeraX 1.5).

Thank you.
Best
Vincent

    

--

Vincent Chaptal, PhD

Director of GdR APPICOM

Drug Resistance and Membrane Proteins Lab


MMSB -UMR5086

7 passage du Vercors 

69007 LYON

FRANCE

+33 4 37 65 29 01

http://www.appicom.cnrs.fr

http://mmsb.cnrs.fr/en/