[Chimera-users] Preference/default for H-bond representation

Markus Heller mheller at cdrd.ca
Thu Jan 12 13:55:49 PST 2017

Great Eric, thanks.  Works as advertised.

Any chance of making this more straightforward in ChimeraX or future Chimera releases?

From: Eric Pettersen [mailto:pett at cgl.ucsf.edu]
Sent: Thursday, January 12, 2017 12:47 PM
To: chimera-users at cgl.ucsf.edu BB
Cc: Markus Heller
Subject: Re: [Chimera-users] Preference/default for H-bond representation

On Jan 12, 2017, at 12:28 PM, Elaine Meng <meng at cgl.ucsf.edu<mailto:meng at cgl.ucsf.edu>> wrote:

There must be some place in the code to change it to always dashed, but somebody else would have to advise on that…

To have all hydrogen bonds start out dashed, after line 991 of <your Chimera>/share/FindHBond/base.py (which should be “pbg.lineWidth = lineWidth”) add:

          pbg.lineType = chimera.Dash

with the same indentation as the preceding line.  On a Mac, “<your Chimera>” will be Chimera.app/Contents/Resources.


          Eric Pettersen
          UCSF Computer Graphics Lab

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20170112/18df9f20/attachment.html>

More information about the Chimera-users mailing list