​​The Cambridge Crystallographic Data Centre (CCDC).
The CCDC websites use cookies. By continuing to browse the site you are agreeing to our use of cookies. For more details about cookies and how to manage them, see our  cookie policy.

Is there a way to change the colour and size of the H-bonds?

Solution

Yes, it is possible to change the colour and/or style of specific non-bonded contacts. Right click on the relevant contact, then select either your chosen colour from the Colour list in the pull down menu or by selecting your preferred representation from the Style menu.

Changes can also be applied to all contacts currently on display. To set the colour of contacts, hit the top-level Display button followed by Colours in the resulting pull-down menu, then Contacts... in the next menu. This will bring up the Colour Contacts dialogue box. Select By expanded/hanging to display contacts according to the default colouring conventions, or Colour in order to choose your own. If you select the latter, you should then click on the coloured panel to choose the colour you want. The selected colour can be applied to All Contacts, Expanded Contacts or Hanging Contacts as required.

To set the display style of all contacts currently on display, hit the top-level Display button followed by Styles in the resulting pull-down menu, then Contacts... in the next menu. This will bring up the Contact Style dialogue box. Select either Wireframe or Stick representation. The chosen display style can then be applied to All Contacts, Expanded Contacts or Hanging Contacts as required.

Note: existing settings are not propagated if, for example, the Packing tick box is activated.​