Difference between revisions of "Valence"

From PyMOLWiki
Jump to navigation Jump to search
Line 25: Line 25:
 
unbond pk1,pk2
 
unbond pk1,pk2
 
bond pk1,pk2,4
 
bond pk1,pk2,4
# 1: single bond, 2: double bond, triple bond, 4:delocalized
+
# 1: single bond, 2: double bond, 3:triple bond, 4:delocalized
 
</source>
 
</source>
  

Revision as of 16:51, 29 May 2014

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

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, 3:triple bond, 4:delocalized


SEE ALSO

Bond, Unond