Hi Amith, Just as a tip, almost all user interface actions in ChimeraX log the equivalent command, so using the menu item Select→Invert logs the command that Tony mentioned -- though it doesn't include his useful explanation of '~'. :-)
--Eric
Eric Pettersen UCSF Computer Graphics Lab
On Jul 28, 2021, at 7:49 PM, Anthony James Schaefer via ChimeraX-users chimerax-users@cgl.ucsf.edu wrote:
Amith,
The `select ~sel` command inverts selected atoms. In general, any specifier can be prefixed with '~' to invert it.
Tony From: ChimeraX-users <chimerax-users-bounces@cgl.ucsf.edu mailto:chimerax-users-bounces@cgl.ucsf.edu> on behalf of Rangarajan, Amith via ChimeraX-users <chimerax-users@cgl.ucsf.edu mailto:chimerax-users@cgl.ucsf.edu> Sent: Wednesday, July 28, 2021 10:20 PM To: Diego Amaya via ChimeraX-users <ChimeraX-users@cgl.ucsf.edu mailto:ChimeraX-users@cgl.ucsf.edu> Subject: Re: [chimerax-users] command line way for inverting selection
[EXTERNAL SENDER - PROCEED CAUTIOUSLY]
Hi,
I am looking for a way to invert selection without reaching for the tool bar. I would like to know if there is a way to invert selection via the select command ( or some other command)
thanks a lot, Amith _______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users