VMD-L Mailing List
From: Maxim Belkin (mbelkin_at_ks.uiuc.edu)
Date: Wed Oct 22 2014 - 15:26:05 CDT
Your selection does exactly what you want.
> On Oct 22, 2014, at 1:01 PM, Meander Myself <ni1fios1_at_gmail.com> wrote:
> Hi folks.
> I've been using the following command to select a group of atoms within a certain distance of a selection
> set sel [atomselect top "name ETA and within 7 of (index 1 to 10)"]
> What i want it to do is select every atom within 7 of *any one of the* atoms in the curved bracket.
> I'm worried that instead it's picking a smaller selection, i.e. every atom that is within 7 of *all* atoms in the curved bracket.
> Can you set my mind to rest? And if i'm doing it wrong, can you tell me what i should type instead?