+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Full Member Manila Wolf's Avatar
    Discipline
    Construction
    Using
    AutoCAD 2009
    Join Date
    Oct 2011
    Location
    Philippines
    Posts
    90

    Default Lisp addendum to make dialog box close.

    Registered forum members do not see this ad.

    I have a lisp (attached) to open and close a VBA routine. I know very little about lisp or VBA.
    Once I have fully run the code, I am left with an Autocad dialog box (attached) asking me to click either, yes, no or cancel.

    What I would like is for an addition to the code to automatically close the dialog box by clicking no.

    Thanks in advance for any help.
    Attached Images
    Attached Files

  2. #2
    Senior Member GP_'s Avatar
    Using
    AutoCAD 2014
    Join Date
    Oct 2010
    Location
    Vercelli, Italy
    Posts
    141

    Default

    It needs to operate on dvb files.

  3. #3
    Full Member Manila Wolf's Avatar
    Discipline
    Construction
    Using
    AutoCAD 2009
    Join Date
    Oct 2011
    Location
    Philippines
    Posts
    90

    Default

    Registered forum members do not see this ad.

    Hi Gp.

    The lisp just loads the macro within the dvb file, then unloads the macro after it has run. I have the lisp set to autoload on demand.
    The reason I want to automate clicking the "no", is that I think that if the dialog box is showing and I switch to another open AutoCAD session before I have closed the dialog box, the drawing with the macro sometimes hangs.

Similar Threads

  1. How to open and close a Folder by visual lisp?
    By nataca in forum AutoLISP, Visual LISP & DCL
    Replies: 9
    Last Post: 31st Jul 2012, 10:01 pm
  2. Replies: 10
    Last Post: 1st Sep 2009, 02:18 am
  3. Xref lisp on close reactor
    By benfleck in forum AutoLISP, Visual LISP & DCL
    Replies: 0
    Last Post: 8th Jan 2009, 07:10 pm
  4. Close Lisp Routine
    By smorales02 in forum AutoLISP, Visual LISP & DCL
    Replies: 7
    Last Post: 23rd Jul 2008, 07:40 pm
  5. insert a block and make a dialog box appear?
    By raj banerjee in forum AutoLISP, Visual LISP & DCL
    Replies: 3
    Last Post: 24th Nov 2007, 01:35 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts