supressing command responses in lisp

supressing command responses in lisp

Anonymous
Not applicable
282 Views
2 Replies
Message 1 of 3

supressing command responses in lisp

Anonymous
Not applicable
Hi,
This should be a pretty simple question.

I am writing an auto-purge function that is going to run silently on AutoCAD 4.5 startup. Unfortunately, I am unable to keep "-purge" from displaying which layers/blocks/etc. it has deleted. I have tried setting the "cmdecho" variable to 0, both within the function and before entering the function. Does anyone out there know a quick way of doing this?

I suspect it is a switch of some sort that I tack on to the end of the "-purge" command, but I am not sure.

Phil
0 Likes
283 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Hi Phil,

 

I would also set "filedia" to 0.

 


--
Regards

 


 

 

style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi,

This should be a pretty simple question.

I am writing an auto-purge function that is going to run silently on
AutoCAD 4.5 startup. Unfortunately, I am unable to keep "-purge" from
displaying which layers/blocks/etc. it has deleted. I have tried setting the
"cmdecho" variable to 0, both within the function and before entering the
function. Does anyone out there know a quick way of doing this?

I suspect it is a switch of some sort that I tack on to the end of the
"-purge" command, but I am not sure.

Phil

0 Likes
Message 3 of 3

Anonymous
Not applicable
(setvar "nomutt" 1)

This will kill the command line, but be sure to set
it to 0 when you are through


 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi,

This should be a pretty simple question.

I am writing an auto-purge function that is going to run silently on
AutoCAD 4.5 startup. Unfortunately, I am unable to keep "-purge" from
displaying which layers/blocks/etc. it has deleted. I have tried setting the
"cmdecho" variable to 0, both within the function and before entering the
function. Does anyone out there know a quick way of doing this?

I suspect it is a switch of some sort that I tack on to the end of the
"-purge" command, but I am not sure.

Phil

0 Likes