Make Dialog Box Appear While In LISP

Discussion in 'AutoCAD' started by Scot-65, Nov 11, 2004.

  1. Scot-65

    Scot-65 Guest

    Hi All!

    An elusive problem I wish to find help...

    I am testing for possible IMAGES loded in the drawing base.
    SSGET with filter works fine. File has IMAGES.

    NEXT, I want the built in IMAGE dialog box to appear on the screen
    instead of the command prompt equivalent.

    The (command "IMAGE" pause) is nested inside a [(if - (progn... ]
    but the command prompt is always displayed.

    I have tried ".IMAGE", but to no avail.


    Any help would be appreciated.

    Scot-65
     
    Scot-65, Nov 11, 2004
    #1
  2. put (initdia)
    before your call to the image command

    (initdia) ;initialize dialog box
    (command "image")

    don't know if you'll need a 'while' statement to wait while the command is
    active or not.


    Casey
     
    Casey Roberts, Nov 11, 2004
    #2
  3. Scot-65

    Scot-65 Guest

    Casey,

    Thanks for the tip.
    Will try it out.
    (yes, I do know about the "while" thing, I have two routines that use this). Thanks for this heads up also.

    Scot-65
     
    Scot-65, Nov 12, 2004
    #3
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.