• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

problema undo

  • Thread starter Thread starter Gio_S
  • Start date Start date

Gio_S

Guest
Bye to all,
Here's the question. I have a great deal of lisp routine that process entities, and while the lisp works I like to update the status line (not command) in a way like this
(command "setvar" "modemacro" (strcat " loaded "(itoa(fix contastl))" entities of "(itoa(fix contasel))" processed.")
All right, but there's a problem when I want to cancel the whole effect of the lisp routine using the undo command.
If there wasn't this "setvar" I could go back instantly.
but the grapes stop on every "setvar" canceled.
I have to hold in to repeat it so many times as I used it in the routine, and if the entities are many I put a lot of time, and then, even more serious, I have to be careful not to go back more than due, reversing even before the start of the lisp routine.
I know that there is a command to mark the point where the grape must act "personalizing it", but I have never been able to apply it, so I use it in a standard way, each action has its own undo and its redo.
Thank you very much!
 
simply before all operations from a undo and marks the point (m)

when you want to go back from the undo and then back (b), which returns to the marker previously put without passing through the various steps
 
Thank you so much! I don't know why I had always cheated with the marking:)
Marco before the lisp and then the b shoots me back all setvars in a flash!
Thank you so much!
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top