[chimerax-users] command line way for inverting selection

Eric Pettersen pett at cgl.ucsf.edu
Thu Jul 29 10:18:40 PDT 2021


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 at 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 at cgl.ucsf.edu <mailto:chimerax-users-bounces at cgl.ucsf.edu>> on behalf of Rangarajan, Amith via ChimeraX-users <chimerax-users at cgl.ucsf.edu <mailto:chimerax-users at cgl.ucsf.edu>>
> Sent: Wednesday, July 28, 2021 10:20 PM
> To: Diego Amaya via ChimeraX-users <ChimeraX-users at cgl.ucsf.edu <mailto:ChimeraX-users at 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 at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210729/54123534/attachment.html>


More information about the ChimeraX-users mailing list