Text Window

Discussion in 'AutoCAD' started by Larry Kearns, Jul 3, 2003.

  1. Larry Kearns

    Larry Kearns Guest

    I maintain a number of simple lisp routines for our office. Written for
    acad2000. In acad2004, these lisp routines begin by unexpectedly popping up
    the text window. Not the end of the world - but is there a simple way to
    prevent this? example...

    (defun c:adddimlinear ()
    (setvar "texteval" 1)
    (setq scalestr (rtos (getvar 'useri1) 2 0))
    (setq dimstring (strcat scalestr "linear"))
    (command "dimstyle" "restore" dimstring "dimlinear" pause pause pause))

    Larry Kearns
     
    Larry Kearns, Jul 3, 2003
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.