
Hello, Apologies if this already exists, but I'd like to suggest a new option to the show/hide command: show /spec/ toggle which would behave like the toggle option of volume (one of my favorite chimeraX features by far), but would work on atomic models. Within the spec, anything currently shown would become hidden, and vice versa. Cheers, Alexis

Hi Alexis, At least without the spec part, you can do it with command (if you don’t mind losing any current selection): sel ##display; hide sel models; show ~sel models; ~sel If you really need the spec part, you could make an alias, e.g. in your startup commands (see Preferences) <http://rbvi.ucsf.edu/chimerax/docs/user/preferences.html> <http://rbvi.ucsf.edu/chimerax/docs/user/commands/alias.html> alias toggle sel ##display; hide sel models; show ~sel models; ~sel alias stoggle sel ##display; hide sel & $1 models; show ~sel & $1 models; ~sel <http://rbvi.ucsf.edu/chimerax/docs/user/commands/alias.html> <http://rbvi.ucsf.edu/chimerax/docs/user/commands/atomspec.html#attributes> … then in ChimeraX you could use toggle — or if you want to use a specifier — stoggle <spec> The <spec> could not be selection-based (e.g. “sel”), however. 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 9, 2019, at 9:37 AM, Alexis Rohou <a.rohou@gmail.com> wrote:
Hello, Apologies if this already exists, but I'd like to suggest a new option to the show/hide command:
show spec toggle
which would behave like the toggle option of volume (one of my favorite chimeraX features by far), but would work on atomic models. Within the spec, anything currently shown would become hidden, and vice versa. Cheers, Alexis

I added this ChimeraX request to our database https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/2186#ticket <https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/2186#ticket> It would require changing a lot of code since many different things can be displayed, atoms, bonds, pseudobonds, cartoons, surfaces, models. Tom
On Jul 9, 2019, at 9:37 AM, Alexis Rohou <a.rohou@gmail.com> wrote:
Hello,
Apologies if this already exists, but I'd like to suggest a new option to the show/hide command:
show spec toggle
which would behave like the toggle option of volume (one of my favorite chimeraX features by far), but would work on atomic models. Within the spec, anything currently shown would become hidden, and vice versa.
Cheers, Alexis
_______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users

Thanks both! Alexis On Jul 9, 2019, 12:33 PM -0700, Tom Goddard <goddard@sonic.net>, wrote:
I added this ChimeraX request to our database
https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/2186#ticket
It would require changing a lot of code since many different things can be displayed, atoms, bonds, pseudobonds, cartoons, surfaces, models.
Tom
On Jul 9, 2019, at 9:37 AM, Alexis Rohou <a.rohou@gmail.com> wrote:
Hello, Apologies if this already exists, but I'd like to suggest a new option to the show/hide command: show spec toggle which would behave like the toggle option of volume (one of my favorite chimeraX features by far), but would work on atomic models. Within the spec, anything currently shown would become hidden, and vice versa. Cheers, Alexis
_______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
participants (3)
-
Alexis Rohou
-
Elaine Meng
-
Tom Goddard