DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

option to restore undo/redo stack after save

Started by bdeck, January 17, 2011, 11:21:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bdeck

Here's an item tangentially related to the prior topic.

A command to restore the undo/redo stack after a save would would be helpful.

I occasionally make a change that I want to undo for the present project, but I want to save a copy first. (Or worse, I save and then wish I had not made the mod)

Currently, if I know I will want to undo the mod I can Select all, Copy to the clipboard, New, Paste, Saveas, Close, and then undo on the original drawing.

If I decide too late to undo the mod, I'm screwed.

A command to restore the undo/redo stack after a save would be the ideal solution. (although that begs the question of how far back the restore should reach)

BD



JJG

#1
I vote for too !

Indeed, it's like that with such sotfwares as WORD, EXCEL, ...

Lar

All that would be needed is to not clear the undo memory when saving. I remember when that functionality use to alternate between versions... one version (or patch, can't exactly remember - for a short while patches use to come out just about every month) would have it, the next won't, then the next would have it. I was crossing my fingers that when the rollercoaster ride ended we would be left with the undo buffer not being cleared but sadly that wasn't the case. I have other programs that does not clear the buffer but usually the user has to set the amount of undoes up to a maximum.

Lar

Rob S


Sounds good, I wonder why it has to lose it in the first place?

Sort of sounds like the file gets re-organized in the process of saving, so maybe not so easy to do.

I tried it with Excel, and it loses it also upon saving the file.
User since forever

edgar

-Ed

Dempsey

Once a successful save is done most programs -- if not all -- clear the "undo" history. This is done for two reasons:

  • Reclaim memory and often the saved file is also reloaded to get a clean internal data structure.
  • You cannot accidentally "undo" from before the saved version and thus loose work in the next version.
To tell the truth, I would not have it any other way!
Dempsey

Rick V.

When you open a previous file without making any changes and save it, often the file size is dramatically reduced. Is the larger previous file size due to the stack?

Lar

#7
That's the way dcad works. In fact you don't even have to save it yourself. Dcad automatically saves a bloated file when you close it (don't try this with working files, though). I normally 'Save' a file then immediately 'Save As' to another name. Sometimes I have 5 or 6 backups depending on how paranoid I am that dcad is gonna freak out and do that 'failed to open file' thing. When I've completed a work session I try to remember to open and close the other backup files to free up that wasted memory. Of course I don't always remember. I have loads of wasted hard disk space in old dcad files that I can reclaim by simply opening and closing batches of files. Unfortunately this would date the now-unbloated files since they are saved anew by dcad. The date of when I last worked on a file is important to me so I'm stuck with a legacy of bloated files.

Undoing after a save (and redoing, of course) is a greatly appreciated in the programs that allow it. Sometimes you are forced to save after every action, like when programs go into constant-shutting-down mode. Not being able to undo then is a double whammy.

Lar

Dr PR

I see both sides of this argument.

I get a warm fuzzy feeling when I save a file (successfully) in that whatever happens next at least I have a secure copy.

However, it would be very nice if the Undo stack still worked after the save, as Lar suggests. Photoshop works like this and it is very nice to know that I can change my mind and go back in the history and start over - especially if the point I want to go back to was several saves earlier. This is VERY useful. So far I have never put myself in a position of having lost information with the Photoshop scheme.

I can always create numbered save files as I go, as Lar suggests. That way I have the warm fuzzies with several files.

For what it is worth, I think I strain DesignCAD about as much as anyone with the sometimes huge files I work with and some of the perhaps not too wise shortcuts I use to restrain file size. Nevertheless, I rarely have a real file crash where data is permanently lost. By rarely, I mean maybe two or three times since I started using ProDesign (DesignCAD precursor) in 1987. I normally don't save a lot of intermediate files unless I do have a problem with a particular file.

I DO save existing files under a new name every time I use a new version (or beta version). So I have a sequence of files with the same name except for a DC version number suffix:

filname V15.3
filename V17.2
filename V18.n (n=0-8)
filename V19.n (n=0-?)
filename V20.0
...

I do have one jinxed file (dating back to V15.3) that seems to be corrupted in some weird way that provokes errors in every new version, but even that file works most of the time. I save a lot of numbered backups for that one.
DesignCAD user since 1987

Dempsey

Dempsey