This is a read-only mirror of pymolwiki.org

Cycle valence

From PyMOL Wiki
Jump to navigation Jump to search

DESCRIPTION

cycle_valence cycles the valence on the currently selected bond.

Double Bonds shows you how to show double bonds with with lines and cycle_valence.

USAGE

cycle_valence [ h_fill ]

h_fill = 0; do not update hydrogens h_fill = 1; update hydrogens

EXAMPLE

cycle_valence

NOTES

If the h_fill flag is true, hydrogens will be added or removed to satisfy valence requirements. This function is usually connected to the DELETE key and CTRL-W.

PYMOL API

cmd.cycle_valence(int h_fill)

SEE ALSO

remove_picked, attach, replace, fuse, h_fill, valence