Difference between revisions of "Copy"
Jump to navigation Jump to search
Revision as of 23:57, 24 February 2010
copy creates a new object that is an identical copy of an existing object
copy target, source copy target = source # (DEPRECATED)
cmd.copy(string target,string source)
## 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")