Every saved drawing keeps a design history beside it, command by command, so you can look at the drawing as it was at any saved step and restore it without losing anything. For anyone who needs to go back further than undo.
Before you start
- Stratal Draft or above to restore. Looking needs only the drawing open.
- History starts at the first save. It is kept in the file
<drawing>.stcad.historybeside the drawing. - Recording is on by default. Turn it off with Record history in the Review > History split button, or Record design history on the Privacy and AI page of File > Settings….
Steps: look back
- Click Review > History > Design history to show the History panel.
- Choose the Branch at the top (the current one is marked
*). - Drag the slider, or pick a row in the timeline. Rows show
[saved],[Rev B]for revisions and[merge]for merges. - The chosen state is shown read only in the panel's tabs: Plan, Sheets (choose a layout), 3D and Changes. The drawing itself does not change.
- To compare, choose Compare with: another state, a branch, or The drawing now. The Changes tab lists what was added, removed and changed with each property's before and after. Tick Overlay to draw both in one view: added green, removed red, changed old magenta and new blue, with clouds.
Steps: restore a state
- Choose the state on the timeline.
- Click Restore as new state. The drawing becomes equal to that state in one undo step. Nothing is removed from the history: the restore is a new step on top.
- Save to record it.
Steps: on the command line
- Type
HISTORY(aliasDESIGNHISTORY). The command line lists the branch's states. - At
History [Preview/Restore/Compare/All/Report/Exit] <Exit>:- Preview: a state number to look at (read only).
- Restore: a state number to restore as a new state.
- Compare: a state number to compare with the drawing now.
- All: every state. Report: write the history to a
.csvfile.
Keeping the history healthy
- Compact (panel button, or
HISTORYCOMPACT) drops states that no branch or milestone reaches and folds unsaved steps older than a number of days (30 by default) into their saves. It also runs by itself when the history grows past 64 MB and much larger than the drawing, or past 512 MB. - Repair (panel button, or
HISTORYREPAIR) rebuilds a damaged history from what can be read. The damaged file is kept beside it and the drawing is never changed. - Steps not saved when Stratal CAD closed unexpectedly come back the next time you open the drawing, on a branch named
Recoveredwith the date and time. - Assemblies keep a design history too, and a project store revision carries the drawing's history.
Tips and common mistakes
- Unsaved steps join the timeline when you save; the panel says how many are waiting.
- Copy the
.historyfile with the drawing if you move it, or the history stays behind.
Troubleshooting
| Message or symptom | What it means and what to do |
|---|---|
| "The history starts when the drawing is first saved." / "No history yet: it starts at the next save." | Save the drawing. |
| "Design history is turned off (Review > History > Record history)." | Turn recording on. |
| "The history is damaged (… record(s) unreadable); Repair rebuilds it." | Click Repair. |
| "State #N cannot be shown: …" / "State #N cannot be restored: …" | That state cannot be rebuilt (for example its records were damaged). Try a nearby state, or Repair. |
| "Finish the running command first." | Press Esc, then try again. |
| "The drawing is open read only." | Restoring needs a drawing you may edit. |
Related
- Design options: branches, merging and milestones
- Recording drawing activity
- Comparing drawing revisions
Related
- Backing up and recovering drawings
- Checking, purging and recovering a drawing
- Comparing drawing revisions
- Finding repeated geometry
- Checking a drawing against your standards
- Markup comments and marked-up PDFs
Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.