Am starting working on my defined hydrogen bonds and have run into a minor snag. I have radio buttons that on clicking run a jmolScript that displays a motif and creates defined hydrogen bonds, the latter with a command of the sort:
select atomno=2362, atomno=2440; connect hbond; However if I press another button to switch to another motif, if one of its atoms includes one of the previously created Hbonds (eg because it is adjacent and the atom makes more than one H-bond) then the Hbond hangs out into space in a way I wish to exclude. Is there a general way of deleting the previous hydrogen bonds when I click the new radio button? (I don't want to specify all the other possible connections and say delete). hbonds off doesn't work. David _______________________________________________________________ Dr. David P. Leader, Faculty of Biomedical & Life Sciences, University of Glasgow, Glasgow G12 8QQ, UK Phone: +44 (0)141 330 5905 http://doolittle.ibls.gla.ac.uk/leader The University of Glasgow, charity number SC004401 _______________________________________________________________ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

