Q.147 - Can I have multiple HBONDS objects ?

Category: S.147 - hbonds

The question: "Is it possible to make an object of the hbonds_all display, so that more than one hbonds object can be viewed at the same time ? It seems that each time I recalculate hbonds, the previous hbonds display disappears. I am trying to compare the hydrogen bonding pattern in two similar structures that have been aligned."

Alwyn replied: An interesting question. the object name is hardwired into the program as 'hbonds'. This was an oversight on our part since it should have had an entry in the db that you could change. To get around this you can create the object as a file of ODL instructions by using the plot commands, e.g.

  plot_on
  hb_mc
  
  plot_off

This will generate a file that you need to edit using vi or whatever. Search for 'hbond', change it to whatever you want the object to be called, delete everything to the line before, fast forward to 'end_object', delete everything from the next line to the end, exit the editor. Now go back to O and draw the object, i.e. if the plot file was o_plot.11 just issue:

  draw o_plot.11