From: namd vmd (
Date: Mon Feb 05 2007 - 14:30:48 CST


Is it possible to use previous atom selections in making new ones ? For
example, something like this does not work:

set temp [atomselect top "protein and (z>0)"]
set sel [atomselect top "$temp and name CA]

I know the above can be done in a single selection, but the question is
whether the $temp variable set in the first line can be used in future atom
selections ?

Thank you for the the help !

-Rose Lee