Cycle Valence: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
===DESCRIPTION===
===DESCRIPTION===
"cycle_valence" cycles the valence on the currently selected bond.
'''cycle_valence''' cycles the valence on the currently selected bond.


===USAGE===
===USAGE===
Line 6: Line 6:


===PYMOL API===
===PYMOL API===
<source lang="python">
<source lang="python">
cmd.cycle_valence(int h_fill)
cmd.cycle_valence(int h_fill)
</source>
</source>


===EXAMPLES===
===EXAMPLES===
Line 18: Line 18:
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 and "CTRL-W".


===SEE ALSO===
===SEE ALSO===
[[Cmd remove_picked]], [[Cmd attach]], [[Cmd replace]], [[Cmd fuse]], [[Cmd h_fill]]
[[Cmd remove_picked]], [[Cmd attach]], [[Cmd replace]], [[Cmd fuse]], [[Cmd h_fill]]


[[Category:Commands|cycle_valence]]
[[Category:Commands|cycle_valence]]

Revision as of 14:23, 3 January 2006

DESCRIPTION

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 and "CTRL-W".

SEE ALSO

Cmd remove_picked, Cmd attach, Cmd replace, Cmd fuse, Cmd h_fill