Lee Mac Posted April 8, 2010 Posted April 8, 2010 You will need to delete the DCL file and make the change to the LISP code also. The DCL file may be found in the same directory as: (findfile "ACAD.pat") Quote
alanjt Posted April 8, 2010 Posted April 8, 2010 Just for a bit of fun... (defun DemoSelect (/ *error* dyn d) (setq *error* (lambda (x) (and dyn (setvar 'dynmode dyn)))) (and (setq dyn (getvar 'dynmode)) (setvar 'dynmode 3)) (initget 0 "1 2 3 Exit") (setq d (cond ((getkword "\nSpecify demo number [1/2/3/Exit] <1>: ")) ("1") ) ) (*error* nil) (if (/= d "Exit") (strcat "Demo " d) ) ) Quote
The Buzzard Posted April 8, 2010 Posted April 8, 2010 You will need to delete the DCL file and make the change to the LISP code also. The DCL file may be found at: (findfile "ACAD.pat") Lee, I did several searches by name & date. These are ACAD Hatch pattern files. There is nothing in them that represents a dialog file. Quote
Lee Mac Posted April 8, 2010 Posted April 8, 2010 Lee, I did several searches by name & date. These are ACAD Hatch pattern files. There is nothing in them that represents a dialog file. Look in that directory Quote
The Buzzard Posted April 8, 2010 Posted April 8, 2010 Ok, So its not in the ACAD.pat but in the same directory as that. LMAC_BFind_V1.0.dcl LMAC_BFind_V1.1.dcl LMAC_demo.dcl LMAC_mapping_V1.1.dcl Not sure if that is such a good idea since many users would have become confused like me. Some could have mis-interpreted that as being in the ACAD.pat and deleted that file. Although I find it interesting. I think you should have explained that better Lee. Quote
alanjt Posted April 9, 2010 Posted April 9, 2010 One more... (No one is listening, but I'm still having fun.) (defun DemoSelect (/ *error* dyn d) (setq *error* (lambda (x) (and dyn (setvar 'dynmode dyn)))) (and (setq dyn (getvar 'dynmode)) (setvar 'dynmode 3)) (initget 0 "1 2 3 Exit") (setq d (cond ((getkword "\nSpecify demo number [1/2/3/Exit] <1>: ")) ("1") ) ) (*error* nil) (if (/= d "Exit") (eval (read (strcat "(c:Demo" d ")"))) ) ) Quote
The Buzzard Posted April 9, 2010 Posted April 9, 2010 One more...(No one is listening, but I'm still having fun.) (defun DemoSelect (/ *error* dyn d) (setq *error* (lambda (x) (and dyn (setvar 'dynmode dyn)))) (and (setq dyn (getvar 'dynmode)) (setvar 'dynmode 3)) (initget 0 "1 2 3 Exit") (setq d (cond ((getkword "\nSpecify demo number [1/2/3/Exit] <1>: ")) ("1") ) ) (*error* nil) (if (/= d "Exit") (eval (read (strcat "(c:Demo" d ")"))) ) ) Sorry about that Alan, I am not such a big fan of command prompt programs as some are not of dcl, But its a good thing you are still having fun all the same. Quote
alanjt Posted April 9, 2010 Posted April 9, 2010 Sorry about that Alan, I am not such a big fan of command prompt programs as some are not of dcl, But its a good thing you are still having fun all the same. I can understand that. However, in the above subroutine, I utilized the Dynamic Mode, which acts like a dialog.:wink: Quote
The Buzzard Posted April 9, 2010 Posted April 9, 2010 I can understand that. However, in the above subroutine, I utilized the Dynamic Mode, which acts like a dialog.:wink: Well, Thats different considering Im always in a Dynamic Mode, Only difference is, I do not act like a nut. Im the real deal! Quote
alanjt Posted April 9, 2010 Posted April 9, 2010 Well,Thats different considering Im always in a Dynamic Mode, Only difference is, I do not act like a nut. Im the real deal! HuH? Quote
tagkelas Posted April 9, 2010 Author Posted April 9, 2010 Thanks The Buzzard & Lee Mac. You are great Quote
Recommended Posts
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.