This is a read-only mirror of pymolwiki.org

Difference between revisions of "Copy"

From PyMOL Wiki
Jump to navigation Jump to search
m
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
===DESCRIPTION===
 
===DESCRIPTION===
+
'''copy''' creates a new object that is an identical copy of an existing object
  "copy" creates a new object that is an identical copy of an
+
 
  existing object
 
 
 
===USAGE===
 
===USAGE===
 
<source lang="python">
 
<source lang="python">
  copy target, source
+
copy target, source
+
copy target = source        # (DEPRECATED)
  copy target = source        # (DEPRECATED)
+
</source>
</source>
 
  
===PYMOL API===
+
===PYMOL API===
<source lang="python">
+
<source lang="python">
cmd.copy(string target,string source)
+
cmd.copy(string target,string source)
</source>
+
</source>
  
 
===SEE ALSO===
 
===SEE ALSO===
+
[[Create|create]]
  [[Cmd create|create]]
 
  
 
===User Comments/Examples===
 
===User Comments/Examples===
 
+
[[Category:Commands|Copy]]
[[Category:Commands|copy]]
 

Revision as of 13:41, 20 June 2009

DESCRIPTION

copy creates a new object that is an identical copy of an existing object

USAGE

copy target, source
copy target = source         # (DEPRECATED)

PYMOL API

cmd.copy(string target,string source)

SEE ALSO

create

User Comments/Examples