This is a read-only mirror of pymolwiki.org

Difference between revisions of "Replace"

From PyMOL Wiki
Jump to navigation Jump to search
 
m (6 revisions)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
===DESCRIPTION===
+
 
+
'''replace''' replaces the picked atom with a new atom.
  "replace" replaces the picked atom with a new atom.
+
 
 
 
===USAGE===
 
===USAGE===
   
+
  replace element, geometry, valence [,h_fill [,name ]]
  replace element, geometry, valence [,h_fill [,name ]]
+
 
 
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">
+
<source lang="python">
  cmd.replace(string element, int geometry, int valence,
+
cmd.replace(string element, int geometry, int valence,
              int h_fill = 1, string name = "" )
+
            int h_fill = 1, string name = "" )
</source>
+
</source>
 
===NOTES===
 
===NOTES===
+
Immature functionality. See code for details.
  Immature functionality. See code for details.
+
 
 
 
===SEE ALSO===
 
===SEE ALSO===
+
[[Remove]], [[Attach]], [[Fuse]], [[Bond]], [[Unbond]]  
  [[Cmd remove]], [[Cmd attach]], [[Cmd fuse]], [[Cmd bond]], [[Cmd unbond]]  
 
  
[[Category:Commands|replace]]
+
[[Category:Commands|Replace]]
 +
[[Category:Editing Module|Replace]]

Latest revision as of 03:49, 28 March 2014

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