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

Eric Pettersen pett at cgl.ucsf.edu
Thu Jan 12 12:46:43 PST 2017

> On Jan 12, 2017, at 12:28 PM, Elaine Meng <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/63c1f9cd/attachment.html>

More information about the Chimera-users mailing list