This is a read-only mirror of pymolwiki.org

Copy

From PyMOL Wiki
Revision as of 01:43, 28 March 2014 by Pyadmin (talk | contribs) (14 revisions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

USAGE

copy target, source

PYMOL API

cmd.copy(string target,string source)

SEE ALSO

User Comments/Examples

## will copy the object "trna" into six new objects with a number suffic
s = range(6)
for x in s:
	cmd.copy("trna%s" %x, "trna")