You can undefine the erase command and redefine it, but any user with experience can still get around your "fix".
If all you are looking for is to eliminate accidental erasures, this will work, because the user will have to key "_ERASE" instead of "ERASE" or just "E".
You will also have to make sure the .MNS does not use the "_ERASE" command for the buttons or pulldowns.
The routine for undefining and redefining will have to go in the "acad2000doc.lsp" or the "acad2000.lsp" if you have Acad2000, or the appropriate file for 2002 or 2004.
Threatening to shoot employees that erase the wrong thing usually works as well, particularly if you are known as an NRA supporter.
Thanks for the help nebster. but i have use lsp. What i did was add a key to an object if i dont want to delete it. And It triggers a undo command in endcommand event in VBA
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.