If you make a mistake, you can use the
. If you change your mind again, you can use the . Undo and Redo functionality is available in the schematic editor, the part editor and the property spreadsheet.You can use Undo/Redo for:
- Object creation/deletion activities (for example, Cut, Copy, Paste, and Place commands).
- Object manipulation (for example, Move, Resize, Rotate, and Mirror commands)
- Property value modifications.
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:
- Sequentially, exactly one command at a time.
- By setting label states. Label state enables you to tag the schematic at different stages of design. You can later use these tags to go to a particular stage of the design and then undo/redo a number of steps that were performed at that point in the design.
For example, suppose you had performed the following actions on a schematic page:
- Place a part.
- Label the schematic as stage1
- Rotate the part by 90 degrees.
- Wire one of the pins on the part to another part on the schematic page.
- Place another part.
- 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 |
H1/U1 (only) is changed. |
Change reference designator on H2/U1 from U72 to U80 |
Undo Text |
H2/U1 (only) is changed. |
Undo |
Undo Text |
H2/U1 reference designator returned to U72 from U80. |
Undo |
Undo Move |
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):
- Choosing Update Current or Update all after editing a part on a schematic page
- Replace Cache, Cleanup Cache, or Update Cache
- Edit Properties through the Browse/Find commands or through third-party tools
- Annotation, back-annotation, Update properties, Import Properties, or Cross Reference operations
To undo an action
- From the Edit menu, choose the .
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
- From the Edit menu, choose the .
Shortcut
Toolbar: