Command Line 6.2.10

3.26. copy command

Description: Copies an object or set of objects. The difference between this command and the array command is that the copy command copies objects by applying a displacement vector with an arbitrary direction.

Inline mode usage:

  • copy -h: Displays the help file that summarizes the parameters for this command.
  • copy –s all –p <x1 y1 z1> <x2 y2 z2>: Copies all the objects from start point <x1 y1 z1> to end point <x2 y2 z2>.
  • copy –s <name> –p <x1 y1 z1> <x2 y2 z2>: Copies object with name <name> from start point <x1 y1 z1> to end point <x2 y2 z2>.

Interactive mode usage:

  • Invocation:
    • copy-all: Copy all objects.
    • copy: Copy only the selected objects.
  • Parameters:
    • Objects to copy (only used when not specifying the -all parameter). These objects must be selected by left-clicking on them (hold Ctrl to select several objects) or selecting them on the tree view.
    • Start point: x1 y1 z1.
    • Copy point: x2 y2 z2.

The difference between the two points determines the displacement vector applied to the original object to create the copy.

Example:

A 2x2x2 box was created prior to executing this command:

>copy

Select objects on screen (Press enter when done):  // Select the box.

Select start point [x y z]: 0 0 0

Select copy point [x y z]: 2 2 0

Result:

 

Result of applying the copy operation

 

 

We use cookies on this website to improve your navigation experience on this site. By using this site, you agree to our cookie policy.

I agree