PDA

View Full Version : Undo Mark


kennet.sjoberg
2005-05-31, 11:42 AM
Is there a way to see if an Undo Mark flag is set ?

Command: Undo Mark
Command: xxx --> tells you that there is a Undo Mark flag set

as You can do with Undo BEgin / End

Command: (getvar "UNDOCTL" ) ; --> 5 = AutoCAD 2002, AutoCAD 2006 = 21
Command: Undo Begin
Command: (getvar "UNDOCTL" ) ; --> 13 = AutoCAD 2002, AutoCAD 2006 = 29
Command: Undo End
Command: (getvar "UNDOCTL" ) ; --> 5 = AutoCAD 2002, AutoCAD 2006 = 21


: ) Happy Computing !

kennet

Mike.Perry
2005-05-31, 12:21 PM
Hi

Can you not check the system variable UndoMarks, if not set to 0 (zero) an Undo Mark must be set (active).

Have a good one, Mike

kennet.sjoberg
2005-05-31, 12:43 PM
Can you not check the system variable UndoMarks...
. . . of course :Oops:

Thank You Mike, and Happy Computing !

kennet