Copy

From PyMOLWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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


## 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")