Difference between revisions of "Copy"

From PyMOLWiki
Jump to navigation Jump to search
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===
+
[[Cmd create|create]]
  [[Cmd create|create]]
 
  
 
===User Comments/Examples===
 
===User Comments/Examples===
 
 
[[Category:Commands|copy]]
 
[[Category:Commands|copy]]

Revision as of 10:46, 23 June 2005

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