TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: mailmaverick on April 15, 2019, 05:05:24 AM
-
Hi,
I have a command name as string (say "COPY") stored in a variable called 'commandname'.
I want to delete the command for usage in AutoCAD.
My code : (set (read (strcat "C:" commandname)) nil) is not working
Please Help.
-
Maybe "_.undefine" command will help?
-
(vl-acad-undefun (read (strcat "C:" commandname)))
-
Assuming this is for licensing purposes, it is probably easier to redefine the function as something else (which could then display an informative message to the user).
-
Excellent Vovka !!!!