TheSwamp

Code Red => VB(A) => Topic started by: iliekater on April 05, 2009, 06:35:46 AM

Title: Using UNDO with VBA
Post by: iliekater on April 05, 2009, 06:35:46 AM
Is there a way to use the UNDO command through VBA ? Well , at the end if there is no other way , I can still send the Lisp version to the command line and do my job , but I would like to do it with VBA .
Title: Re: Using UNDO with VBA
Post by: Bob Wahr on April 05, 2009, 10:13:08 AM
Don't have it available to chech ATM.  Worst case you can use sendcommand.
Title: Re: Using UNDO with VBA
Post by: Dnereb on April 07, 2009, 04:31:25 PM
Worst case... is only case.
Unless you did something in lisp or VBA you can retrieve, the sendcommand would be the only option.
If not you could log all Lisp or VBA executions. and reverse them by reading your log file.

Note: this would be a good way to procede all vba/vb.net executions anyways.
Title: Re: Using UNDO with VBA
Post by: Glenn R on April 08, 2009, 04:38:41 PM
You can set undo marks though:

ThisDrawing.StartUndoMark
ThisDrawing.EndUndoMark
Title: Re: Using UNDO with VBA
Post by: iliekater on May 03, 2009, 04:34:57 AM
OK , thank you all for your replies .