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.

Undo history

Started by Dr PR, January 18, 2011, 03:55:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

This is a suggestion for improving the Undo operations.

Photoshop has a "History" window that lists the sequence of operations that have been performed on a file since it was last opened. Rather than blindly repeating "Undo" until you get back to where you want you can scroll through this undo list and select the point in the drawing history you want to go back to. All undoes back to this point are then executed automatically.

The entries in the history window are just the command names that have been executed. It is up to the user to remember where to back up to, but this hasn't been a problem. There is usually some point where I have finished working on one part of the drawing and then started on another, evidenced by the use of a different command

Note: Only modifications to the drawing are included in the history list. Program functions, like zoom, print, etc. are not included.

It would be really nice if DesignCAD implemented this feature.
DesignCAD user since 1987

Rob S

This would be a useful feature, as long as it does not add too much overhead... slowing things down, etc
User since forever

Dr PR

Agreed. Since moving back in the history only happens when the user scrolls back through the history list, it shouldn't slow down normal operations. The history list must already exist because we can repeatedly click "Undo" to work back down the list, so there is no extra overhead for maintaining the list.

At worst, selecting a point back in the history list would cause automatic execution of "Undo" a number of times to get to the desired point. However, depending upon how the history list is maintained, the only action necessary is to just restart drawing at the selected point. In Photoshop the result is instantaneous, even with huge files a gigabyte or larger, so the program is not single stepping back through the list.

One other thing. In Photoshop, after you move back to an earlier point in the history list you can always move forward again to another point UNTIL THE DRAWING IS CHANGED. After you step back and modify the drawing the history list restarts with the then current drawing. This is a very useful feature since the user isn't likely to know exactly which previous "line draw" operation is the desired place to restart the drawing. Keeping the past/future history list intact allows you to jump around in the history to find the place you want to restart from.

Also, Photoshop allows you to specify how many entries are maintained in the history list (how much RAM or disk space you want to allocate to the history list). The list is a "push down" or "FILO" (first in last out) list. When the list is full (maximum entries) and another action is added to the list (the latest action) the oldest entry in the list is pushed out or overwritten.
DesignCAD user since 1987

paulerens

#3
This problem, I have partially solved with two macros.
I say, partly!
First macro I use be for a dangerous operation or macro.
Copy everything to the clipboard with a handle on 0,0,0

===================================
Sys(36)=2
>SelectAll
{
}
>SetHandle
{
<Pointxyz 0,0,0
}
>Copy
{
}
Sys(36)=0
End
====================================

Second macro I use when failure of the operation and brings back the clipboard.
Because the handle was at 0,0,0, the old image comes back to its proper place.
====================================
Sys(36)=2
>SelectAll
{
}
>Erase
{
}
>Paste
{
<Type 0
<Pointxyz 0,0,0
}
>Deselect
{
}
Sys(36)=0
Regen
End
=====================================
Try this, instead of undo, undo, undo, etc.

Paul.

P.S. Maby? DT can think about this to place in to clipboard 1,2,3,4,5, etc.

Dempsey

Added to the list as F-184.
Dempsey

JJG

Quote from: paulerens on January 21, 2011, 03:47:23 PM
Try this, instead of undo, undo, undo, etc.

Paul.

P.S. Maby? DT can think about this to place in to clipboard 1,2,3,4,5, etc.

I agree with you, Paul, it will be a great improvment too, to have the possibily of a multi clip-board, such as in Word !