From: Axel Kohlmeyer (
Date: Wed Feb 12 2014 - 17:01:55 CST

On Wed, Feb 12, 2014 at 3:37 PM, Jacob Durrant <> wrote:
> A few months ago I was visiting Klaus Schulten's group, and one of the VMD
> developers there showed me a very convenient atom selection for selecting
> every other atom, or every third atom, etc. It made viewing large structures
> much faster and easier. I've searched the internet and can't find that
> command anywhere. Can anyone here point me in the right direction?

you probably are looking for something like "(index % 4) == 1" which
picks every 4th atom starting from the second. check out this one and
the subpages:


> Thanks,
> Jacob

Dr. Axel Kohlmeyer
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.