GDDM-PGF V2R1.3 OPS User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF | BOOK


Copying and moving objects

GDDM-PGF V2R1.3 OPS User's Guide
SC33-1776-00



You can do anything you want to an object using UNDO and TEST as already described. However, for copying or moving objects, OPS offers alternatives involving only your mouse or cursor. Here, we describe the process for copying an object. The process for moving an object is the same, as you can see if you try the exercise described in "Moving objects" in topic 2.1.3.15.2. The difference between the two is, of course, that copying an object leaves you with two copies of the object; moving an object leaves you with just the original object, but in a different place.

To copy an object, enter:


          copy

OPS prompts you to pick an object, using your mouse or cursor. The point you pick is marked by a green cross, or, if your terminal supports segment echoing, your cursor changes into a copy of the object.

Point at the new location of the object (the green cross if used), and click any mouse button or press Enter. A copy of the object appears at the new location, and the associated command appears in the command field.

The command created by the COPY operation has coordinates updated by an amount corresponding to the offset you requested interactively. The offset is rounded according to the current GRAIN setting. However, the coordinates are not rounded, unless they already were. This ensures that your objects keep their original shape. For example, assuming GRAIN to be 1, copying:


          poly 10 10, 34.5 43.4, 70 5.6

to a new position offset interactively by (3.6, 5.2) gives:


          poly 14 15, 38.5 48.4, 74 10.6

which has the same shape as the original object.

Note: If you try to use these commands while in TEST mode, OPS switches TEST mode off. When you use the commands, you're working with more than one object; TEST mode is for testing one object at a time.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012