Jump to content

Automatically close or disable Autocad Text Window when loading Lisp?


Recommended Posts

Posted

My question is, is there a way to disable the popup text window from

appearing when loading the lisp files as it's very annoying.My question is, is there a way to disable the popup text window from

appearing as it's very annoying and un-needed. I came across the following code and it supposedly worked for someone. When I

add that as another lisp to my lisp files to automatically load it, it does minimize it for the first drawing opened but appears on all future drawings opened. Hopefully a quick fix. Any help is appreciated.

 

(defun C:NewList ()

(command "._List")

(while (> (getvar "CMDACTIVE") 0)

(command pause)

)

(graphscr)

(princ)

)

Posted

Are any of those lisps you load running the command "-UNITS" ?

 

SteveJ

Posted

There were no units string though I came across textscrn in one of them.. All along I thought it was normal for a popup box. Thanks your comment helped narrow in on the problem!

Posted

You're welcome.

Yep. TEXTSCR will do it, too.

 

SteveJ

Posted

This will make selection a lot easier...

 

(defun c:Test (/ ss)
 (if (setq ss (ssget))
   (progn (command "_.list" ss "")
          (graphscr)
   )
 )
 (princ)
)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...