Removes a single command or a command group
(vlax-remove-cmd global-name)
Removes a single command or the whole command group for the current AutoCAD session.
T, if successful; otherwise nil (for example, the command is not defined).
Remove a command defined with vlax-add-cmd:
_$ (vlax-remove-cmd "hello-autocad")
T
_$ (vlax-remove-cmd "hello-autocad")
nil
This time vlax-remove-cmd returns nil, because the specified command does not exist anymore.
See Also
-
The vlax-add-cmd function.