Author Topic: ET LayDel surpress messages  (Read 6057 times)

0 Members and 1 Guest are viewing this topic.

Joe Burke

  • Guest
Re: ET LayDel surpress messages
« Reply #15 on: October 25, 2006, 11:37:42 AM »
I think I found a solution.

(defun c:Test ( )
  (c:PrimaryFunction) ;cmdecho is 1 and unchanged - delete objects
  (vla-startundomark *doc*) ;*doc* is the active document
  (setvar "cmdecho" 0) ;suppress "Hatch boundary..." messages
  (vla-endundomark *doc*)
  (command "undo" "1") ;reset cmdecho to 1
  (ReportFunction) ;run the report function
  (princ)
)