View Full Version : unknown command for working command
caduzer
2006-11-21, 04:55 PM
I've written an AutoLisp script that runs purge, audit and then superpurge (3rd party program). Purge and audit work fine, but it says "unknown command" for "spurgeall" even though not only is it a command, but if, on the command line, I type "spurgeall" and hit the spacebar, it works fine.
Any ideas?
Thanks,
Scott
madcadder
2006-11-21, 06:00 PM
"show me the money!" um... code.
We would have to see what you have written to tell for sure.
I've written an AutoLisp script that runs purge, audit and then superpurge (3rd party program). Purge and audit work fine, but it says "unknown command" for "spurgeall" even though not only is it a command, but if, on the command line, I type "spurgeall" and hit the spacebar, it works fine.
Any ideas?
Thanks,
Scott
Is this a file with a .LSP file extension or a .SCR file extension?
You may be able to add the following around "spurgall"
(c:spurgall)
Is this a file with a .LSP file extension or a .SCR file extension?
You may be able to add the following around "spurgall"
(c:spurgall)
Or...
(command "spurgeall")
but the way that Opie mentioned is the best and cleanest...
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.