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> on behalf of Rangarajan, Amith via ChimeraX-users <chimerax-users@cgl.ucsf.edu>
Sent: Wednesday, July 28, 2021 10:20 PM
To: Diego Amaya via ChimeraX-users <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