From: Leonardo Trabuco (ltrabuco_at_ks.uiuc.edu)
Date: Sun Feb 11 2007 - 11:59:23 CST

On Sun, Feb 11, 2007 at 01:35:17PM +0100, namd vmd wrote:
> How to get the number of residues selected from a atomselect command
> in vmd ?

You can do something like: llength [$sel get residue]

Best,
Leo

-- 
Leonardo Trabuco, Ph.D. student
Theoretical and Computational Biophysics Group
University of Illinois at Urbana-Champaign