Product Documentation
OrCAD Capture User Guide
Product Version 17.4-2020, June 2020

Undoing and Repeating commands

If you make a mistake, you can use the Undo command. If you change your mind again, you can use the Redo command. Undo and Redo functionality is available in the schematic editor, the part editor and the property spreadsheet.

You can use Undo/Redo for:

Capture creates an “undo/redo” cache as you perform commands in the schematic editor and the property editor. Note that when you perform commands in the schematic editor, the undo/redo cache for the property editor is cleared, and vice versa. Also, note that certain other operations, such as Synchronize Up/Down cause the undo/redo cache to be cleared.

Multiple undo/redo operations

You can undo/redo commands:

For example, suppose you had performed the following actions on a schematic page:

  1. Place a part.
  2. Label the schematic as stage1
  3. Rotate the part by 90 degrees.
  4. Wire one of the pins on the part to another part on the schematic page.
  5. Place another part.
  6. Label the schematic as stage2.

You could then use the Undo command sequentially to return the schematic page to its state at any point in this sequence. Alternately, suppose after step 5 you decide that instead of rotating the part by 90 degree, it would make better sense to rotate the part by 270 degrees, and change the wire-pin connections as well. In such a case, instead of undoing a number of steps, you can jump to the label state stage1. This will take you to the state of the schematic described in step 1. You can then do the modifications as required.

Also, note that the part editor does not include an undo/redo cache. Therefore, in the part editor, you can only undo/redo a single command.

Using Undo/Redo for designs and schematic pages


You can use Undo/Redo independently for each schematic page in your design. That is, a separate cache of undo/redo data is maintained by Capture for each schematic page.

In complex hierarchical designs, there can be more than one occurrence of a particular schematic. When editing in this environment, objects and annotations are handled by separate mechanisms.
For objects, the edits are reflected in all the pages open on different occurrences of that page. If there are two pages open on two different uses of a schematic and you move an occurrence on one page, the occurrence will also move in the second page. When the user performs an UNDO, the state of the objects is restored on all occurrence pages identically.
For annotations edits are reflected uniquely in the occurrence pages. The annotation displayed by a view is selected by filter. UNDO in this case will restore the annotation value only on the particular occurrence page

For example consider the case of a reused instance with two occurrences H1/U1 and H2/U1. This instance has different annotations for these two occurrences. When the page is open on H1/U1, the Reference Designator displays as U25; when the page is open on H2/U1, the Reference Designator displays as U72.The behavior of UNDO will be as shown in following sequence:

Command

Undo/redo

Schematic state

Open root schematic

disabled

Schematic displayed

Open occurrences H1/U1 and H2/U1

disabled

Occurrence pages displayed

Move a component in H1/U1

Undo Move

Component moved on both H1/U1 and H2/U1

Change reference designator on H1/U1 to from U25 to U50

Undo Text

(Redo disabled)

H1/U1 (only) is changed.

Change reference designator on H2/U1 from U72 to U80

Undo Text

(Redo disabled)

H2/U1 (only) is changed.

Undo

Undo Text

(Redo enabled)

H2/U1 reference designator returned to U72 from U80.

Undo

Undo Move

(Redo enabled)

H1/U1 reference designator returned to U25 from U50.

Undo

disabled

Component moved to its previous position on both H1/U1 and H2/U1.

Clearing the Undo/Redo cache

There are a number of operations that will clear the undo/redo cache (that is, these operations cannot be undone, nor can the schematic page be returned to a state that existed previous to the execution of these operations):

To undo an action

Deleting schematic folder, schematic pages, parts, and symbols is permanent. You cannot use the Undo command to bring back deleted items from the project manager.

Shortcut

Toolbar:

To undo an Undo command

Shortcut

Toolbar: