This is a read-only mirror of pymolwiki.org

Difference between revisions of "Cycle Valence"

From PyMOL Wiki
Jump to navigation Jump to search
m
 
m (8 revisions)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
===DESCRIPTION===
 
 
'''cycle_valence''' cycles the valence on the currently selected bond.
 
'''cycle_valence''' cycles the valence on the currently selected bond.
  
Line 15: Line 14:
  
 
===NOTES===
 
===NOTES===
If the h_fill flag is true, hydrogens will be added or removed to
+
If the h_fill flag is true, hydrogens will be added or removed to satisfy valence requirements.
satisfy valence requirements.
 
 
   
 
   
This function is usually connected to the DELETE key and "CTRL-W".
+
This function is usually connected to the DELETE key or "CTRL-W".  (Try CTRL-W first.)
 +
 
 +
There are two distinct ways to cycle a bond valence in PyMOL. First, if you start by clicking the Builder button you don't need to worry about Editing Mode, PyMOL will take care of that for you.  After clicking Builder, click Cycle.  In green text you should see, "Pick bonds to set as Cycle bond..." now just use the LEFT mouse button to click on a bond (not an atom). If you repeatedly click the bond, PyMOL will cycle the valence. The second method requires PyMOL to be in Editing Mode. To ensure you're in Editing Mode, please either click Mouse > 3 Button Editing.  Now, using the mouse please CTRL-RIGHT-click on a bond (not an atom).  The white cuff appears with a number (the angle of the substituents).  Last, type CTRL-w to cycle the bond.
  
 
===SEE ALSO===
 
===SEE ALSO===
[[Cmd remove_picked]], [[Cmd attach]], [[Cmd replace]], [[Cmd fuse]], [[Cmd h_fill]]
+
[[remove_picked]], [[attach]], [[replace]], [[fuse]], [[h_fill]] [[Edit_Keys]]
  
 
[[Category:Commands|Cycle Valence]]
 
[[Category:Commands|Cycle Valence]]
 +
[[Category:Editing|Cycle Valence]]

Latest revision as of 01:43, 28 March 2014

cycle_valence cycles the valence on the currently selected bond.

USAGE

cycle_valence [ h_fill ]

PYMOL API

cmd.cycle_valence(int h_fill)

EXAMPLES

cycle_valence
cycle_valence 0

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 or "CTRL-W". (Try CTRL-W first.)

There are two distinct ways to cycle a bond valence in PyMOL. First, if you start by clicking the Builder button you don't need to worry about Editing Mode, PyMOL will take care of that for you. After clicking Builder, click Cycle. In green text you should see, "Pick bonds to set as Cycle bond..." now just use the LEFT mouse button to click on a bond (not an atom). If you repeatedly click the bond, PyMOL will cycle the valence. The second method requires PyMOL to be in Editing Mode. To ensure you're in Editing Mode, please either click Mouse > 3 Button Editing. Now, using the mouse please CTRL-RIGHT-click on a bond (not an atom). The white cuff appears with a number (the angle of the substituents). Last, type CTRL-w to cycle the bond.

SEE ALSO

remove_picked, attach, replace, fuse, h_fill Edit_Keys