Automation error: Drawing is Busy when trying to save a DWG file
Issue:
Intermittent errors appears when saving DWG files with AutoCAD 2012 and 2013 with the message;
Automation error: Drawing is busy
AutoCAD then crashes or hangs losing all work from last save.
Causes:
Solution:
How to detect and remove the Acad.vlx virus
Issue:
Solution:
To prevent additional file corruptions
2. In the Support folder, double-click the acad20xx.lsp file (for example, the acad2014.lsp file for AutoCAD 2014). Add the code below to the file. AutoCAD will detect and delete the acad.vlx and logo.gif files.
(defun cleanvirus( / lspfiles lspfile x)
(setq lspfiles '("acad.vlx" "logo.gif"))
(foreach lspfile lspfiles
(while (setq x (findfile lspfile))
(progn
(vl-file-delete x)
(princ "nDeleted file ")
(princ x)
);progn
);while
);foreach
)
(cleanvirus)
Note: Replace ROAMABLEROOTPREFIX with the value returned by the ROAMABLEROOTPREFIX system variable.
4. If present, delete the following line of code:
(vl-file-copy(findfile(vl-list->string'(108 111 103 111 46 103 105 102)))(vl-list->string'(97 99 97 100 46 118 108 120)))
5. In the Support folder, double-click the acad20xx.lsp file (for example, the acad2014.lsp file). Add the code below to the file. AutoCAD will detect and delete the “acaddoc.lsp” and/or “acad.fas” in adition to the files referenced in the document:
(defun cleanvirus( / lspfiles lspfile x)
(setq lspfiles '("acad.vlx" "logo.gif"
“acaddoc.lsp” “acad.fas”))
(foreach lspfile lspfiles
(while (setq x (findfile lspfile))
(progn
(vl-file-delete x)
(princ "nDeleted file ")
(princ x)
);progn
);while
);foreach
)
(cleanvirus)