Nick Hofland supplied Yes/No Dialog Box (Tip #2083) for LISP programmers. The dialog box is defined by a simple DCL file that you must place in the AutoCAD search folder for this utility to operate correctly. Load the LSP file and use the function in your coding as (Yes-No "My question"). The function returns T if the answer is Yes, nil otherwise and sets the symbol NUMYN to either 0 for No or 1 for Yes. A handy utility to keep ready for when needed. After all, users love dialog boxes! |