Difference between revisions of "Bond"

From PyMOLWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
===DESCRIPTION===
 
===DESCRIPTION===
'''bond''' creates a new bond between two selections, each of which should contain one atom.
+
'''bond''' creates a new bond between two selections, each of which should contain one atom.  You can easily create a new bond by selecting two atoms, each with the CTRL-MIDDLE-MOUSE-BUTTON and typing "bond" on the command line.
  
 
===USAGE===
 
===USAGE===

Revision as of 07:50, 20 May 2008

DESCRIPTION

bond creates a new bond between two selections, each of which should contain one atom. You can easily create a new bond by selecting two atoms, each with the CTRL-MIDDLE-MOUSE-BUTTON and typing "bond" on the command line.

USAGE

bond [atom1, atom2 [,order]]

PYMOL API

cmd.bond(string atom1, string atom2)

NOTES

The atoms must both be within the same object.

The default behavior is to create a bond between the (lb) and (rb) selections.

SEE ALSO

Unbond, Fuse, Attach, Replace, Remove_picked