This is a read-only mirror of pymolwiki.org
Valence
Jump to navigation
Jump to search
Overview
Turning on valence will enable the display of double bonds.
Toggling valence_mode alters the positioning of double bonds (for representation as Lines)
Note that bonds can be edited to be delocalized using Unond and Bond.
Examples
set valence, 1
#delocalized bonds
#(edited: see Bond)
Syntax
set valence, 0 # off
set valence, 1 # on
set valence_mode, 0 # centered
set valence_mode, 1 # inside
# In editing mode:
# select the bond using Ctrl-right-click, then enter:
unbond pk1,pk2
bond pk1,pk2,4
# 1: single bond, 2: double bond, triple bond, 4:delocalized