Extract settings/parameters from a chimerax cxs session file

Hi All - apologies if this has been answered before, couldn't find it with search. I have a session file with very nicely formatted views/lighting/graphics settings, but i'd like to duplicate them for another (new) session. I can't remember what i set! And it's not in the log. Is there a way to get ChimeraX to return these values (or indeed, all parameters) for the current session? I imagine this might be useful generally too. Alan

Hi Alan, (1) There are commands for reporting various settings in the Log. Often there is a "list" keyword if you have named items like custom colors or saved positions, whereas some other commands simply report the current settings if you give the command without any keywords, e.g. commands: lighting graphics clip list view list view matrix volume settings color list custom See their respective help pages for details of what you get with each. <https://rbvi.ucsf.edu/chimerax/docs/user/index.html#commands> (2) Another idea is to just open that previous session, use "close" to close all the models or just the ones that won't be in the new session (not "close session" because that would erase more settings), and open the new models to see whether that retains some of the settings that you wanted. (3) A different thing, but related, is that you can apply some settings from one atomic model to another with the "mcopy" command: <https://rbvi.ucsf.edu/chimerax/docs/user/commands/mcopy.html> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Jul 4, 2023, at 11:42 AM, Alan Cheung via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi All - apologies if this has been answered before, couldn't find it with search.
I have a session file with very nicely formatted views/lighting/graphics settings, but i'd like to duplicate them for another (new) session. I can't remember what i set! And it's not in the log.
Is there a way to get ChimeraX to return these values (or indeed, all parameters) for the current session? I imagine this might be useful generally too.
Alan
participants (2)
-
alan.cheung@bristol.ac.uk
-
Elaine Meng