Is there anyway to undo a revert in the Visual Lisp editor? While running part of my program something went wrong and the Visual editor asked to revert. I accidently clicked YES and lost my program. The full program is still loaded into AutoCAD and will run but my editor is empty as well as the saved file. I have left the computer running. Am using a windows 10 pro and AutoCAD 2022. Any help would be greatly appreciated.
Thanks,
Ned
Like the saying goes, save save save, the big disaster is when the power goes off. Have notepad open as well and copy and paste now and then to notepad as a backup.
Yes, shame on me for not backing up my files. It's tough to loose a weeks worth of work. Even though the file got wiped out it is still loaded in AutoCAD. The program will run so it is intact in memory. I was just hoping there was some way to extract it out of memory and save it back to a file. That is well above my knowledge even if possible. Thank You though for your response, appreciate it.
I use Notepad++ it auto saves a sort of hidden back up, there is a Lisp plug in so can run code from Notepad++ but it does not debug.
@mursix ,
Just had the same issue the other day.
Luckily I use a tedious process of copying the code and pasting it into the AutoCAD text screen in order to test.
With AutoLog turned on I can always look back into log files to recover the code.
Another way would be to use (defun-q) which will not encrypt the code, so you could just recover it from the atoms-family.
John F. Uhden
Can't find what you're looking for? Ask the community or share your knowledge.