Stop UNDEFINE msgs to cmd prompt @ startup

  • Thread starter Thread starter Mark Sanchez
  • Start date Start date
M

Mark Sanchez

I have used UNDEFINE for a few commands in my acad.lsp file. However, I
don't like the fact that the undefined commands get "advertised" (ie -
written to the command prompt) during startup like so:

UNDEFINE Enter command name: VBAMAN UNDEFINE Enter command name: VBAIDE
UNDEFINE Enter command name: VBARUN UNDEFINE Enter command name: PLOT

Is there any way to supress this behavior? I've tried putting a (princ)
after the calls but to no avail. Any other ideas?

TIA,

Mark Sanchez
 
Mark,

1. save the value of CMDECHO
2. set CMDECHO to zero
3. undefine your commands
4. restore the value of CMDECHO

Depending on what you are trying to undefine it may be
necessary to define a new 'dummy' command with the
same name rather than undefine the existing command.
I've found that ARX commands can't be undefined until
they are initiated at least once.

Hope this helps.
 
Back
Top