echo suppression

echo suppression

zph
Collaborator Collaborator
979 Views
4 Replies
Message 1 of 5

echo suppression

zph
Collaborator
Collaborator

Good day!

 

Just a question for you guys.

 

Is there a way to suppress the output of the OVERKILL command in autolisp?

 

Here is a simple routine as an example:

 

(defun c:demo ()

(setvar "cmdecho" 0)
(setq oldOSmode (getvar "osmode"))
(setvar "osmode" 0)

 

(command "-overkill" (ssget) "" "")

 

(setvar "cmdecho" 1)
(setvar "osmode" oldOSmode)

(princ)

) ;demo

 

And this what ACAD returns:

Current settings: Tolerance=0.000001, Ignore=None, Optimize polylines=Yes, Combine partial overlap=Yes, Combine end-to-end=Yes
0 duplicate(s) deleted
0 overlapping object(s) or segment(s) deleted

 

I'd like to be able to suppress the 'current settings' part from the command line, ideally.  I don't mind keeping the quantity of objects deleted.

 

Is this possible?

0 Likes
980 Views
4 Replies
Replies (4)
Message 2 of 5

scot-65
Advisor
Advisor
NOMUTT 0/1

???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

Message 3 of 5

zph
Collaborator
Collaborator
Thanks for the reply, scot-65. Resetting the system variable nomutt didn't suppress the overkill return, though.
0 Likes
Message 4 of 5

scot-65
Advisor
Advisor
The only other way I know to keep the command line
quiet is to make a command in the CUI with the prefix
^Q or ^P in the macro string.

untested.
???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes
Message 5 of 5

IconSystem
Enthusiast
Enthusiast

There's the same issue with the ATTSYNC command which regardless of NOMUTT and CMDECHO settings, always prompts "ATTSYNC complete."

 

Annoying.

Regards, Chris
0 Likes