Dan, presuming you are working with a relatively simple system (you aren't
doing a lot of atom deletion, for example), you can use the atom "bitset"
notation:
select ({0,3:6,9})
This selects atoms 0, 3, 4, 5, 6, and 9.
Note that the numbers here are one less than the numbers used in atomno, and
the numbers span all models -- no restarting when multiple models are
loaded. "0" is the first atom of the first model, and it just goes up from
there. Also, if atoms are deleted, these numbers will change.
This syntax can be used anywhere atomno can be used. For example:
select ({1:3}) and hydrogen
Bob
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users