This is a read-only mirror of pymolwiki.org

Difference between revisions of "Replace"

From PyMOL Wiki
Jump to navigation Jump to search
m
 
m
Line 17: Line 17:
  
 
[[Category:Commands|Replace]]
 
[[Category:Commands|Replace]]
 +
[[Category:Editing Module|Replace]]

Revision as of 14:45, 20 June 2009

DESCRIPTION

replace replaces the picked atom with a new atom.

USAGE

replace element, geometry, valence [,h_fill [,name ]]

PYMOL API

cmd.replace(string element, int geometry, int valence,
            int h_fill = 1, string name = "" )

NOTES

Immature functionality. See code for details.

SEE ALSO

Remove, Attach, Fuse, Bond, Unbond