Message 1 of 22
Simple Autolips but I consistently get an error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I wanted a simple AutoLisp command that will Delete reg apps, purge, and then audit at the end.
Maybe call it CUD (Clean Up Drawing). Which seems simple enough. However, when I run my lisp it works fine, but when I go to open a new dwg or another dwg file I get this error.
Or this exact message but the "c:bb" will be replaced with something else.
This will continue as long as I have the CUD.lsp function loaded. I noticed anytime I do not have CUD.lisp loaded I never get the error when open new or other dwgs.
Here is the code for CUD (Clean Up Drawing)
(defun CUD()
(command "-pu" "r" "*" "n") ;deletes reg apps
(command "-pu" "a" "*" "n") ;purges drawing
(command "audit" "y") ;audits drawing
(princ)
)
Did I miss something here?