Sounds like we need something like:
hbonds on set hbonds backbone color hbonds OFF select ..... color hbonds CPK select ..... color hbonds GREEN select .....
This would just require another "color" called "OFF" that indicates something is to be invisible.
Would that work for you, Tim? This could have other, more general use as well.
Or is it that for some reason you want hbonds indicated one way (backbone) in one subset of the molecule and another way (sidechain) in another subset at the same time? Are you asking this for the sake of hydrogen bonds, or because you are using hbonds in more creative ways, not necessarily as "hydrogen bonds"?
Bob Hanson
SourceForge.net wrote:
I have been working with hydrogen bonds in Jmol. most of the hbond settings respect the selected set when applied; for example, 'color hbonds [color]' and 'hbonds [dia]' only affect the currently selected set of atoms.
the 'set hbonds' commands do not behave this way; for example, 'set hbonds backbone' applies to all hbonds irregardless of the selection. I would like the set hbond commands to apply only to the currently selected set. is this possible?
-- Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107 Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057 mailto:[EMAIL PROTECTED] http://www.stolaf.edu/people/hansonr
------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
