vmd.topology.delbond

vmd.topology.delbond()

Delete a bond between atoms with the given indices. If the bond does not exist, does nothing.

Parameters:
  • i (int) – Index of first atom
  • j (int) – Index of second atom
  • molid (int) – Molecule ID to delete bond from. Defaults to top molecule.
Returns:

(bool) True if bond exists and was deleted