next up previous contents index
Next: The !ro Command: Rotate Up: Layout Editing Previous: The !mo Command: Move   Contents   Index


The !co Command: Copy Objects

Syntax: !co dx [dy [[-l] layer_name] [[-r] rep_count]]
The !co command will copy selected objects to new locations. The dx and dy are translation values in microns. If dy is not given, it is taken as 0. A dy value must be given if additional arguments are given.

There are two additional arguments than can appear: a replication count, and a layer name. An integer value that is not identical to a layer name is taken as a replication count, otherwise a layer name is assumed. The optional flags ``-l'' and ``-r'' can appear ahead of the token to enforce the interpretation.

The replication count specifies how many copies, spaced by dx,dy, are generated. For example, if the count is 2, new objects would be created at offset dx, dy, and 2*dx,2*dy. If not given, or the value is not in the range 1-100000, only one copy is made.

A layer name, if given, will allow a layer change during the copy. It should be the name of a layer that is not the current layer. If in layer-specific mode, objects being copied that are on the current layer will be copied to layer_name. If not in layer-specific mode, all objects copied will be placed on layer_name. Subcells are copied without regard to layer_name.

There is also a companion !mo (move) command.


next up previous contents index
Next: The !ro Command: Rotate Up: Layout Editing Previous: The !mo Command: Move   Contents   Index
Stephen R. Whiteley 2012-04-01