| Author |
Message |
mgrigoriev
Guest
|
Posted:
Tue Apr 05, 2005 8:48 pm Post subject:
Hide LISP routine from appearing in command line |
|
|
Hi,
I have 2 LISP routines and 1 VB DLL.
LISP routines I define as:
defun c:R1()
defun c:R2()
The first LISP routine (R1) is called by AutoCAD. It calles a VB DLL that does stuff. The VB DLL calls the second LISP routine (R2). When all routines are finished running, on the right click in AutoCAD I will get the R2 routine. I wouldn't like R2 to appear on the command line because it is not an independent routine. I would like R1 to start running on the right mouse click. What can I do to make that happen? Maybe I shouldn't define R2 with defun c:? Anyway, what should I do?
Thanks,
Mike
|
|
| Back to top |
|
 |
Jeff Mishler
Guest
|
Posted:
Tue Apr 05, 2005 9:40 pm Post subject:
Re: Hide LISP routine from appearing in command line |
|
|
| Quote: | Maybe I shouldn't define R2 with defun c:? Anyway, what should I do?
Correct, use (defun r2 () blah), then call it like so: (r2) |
|
|
| Back to top |
|
 |
mgrigoriev
Guest
|
Posted:
Tue Apr 05, 2005 10:19 pm Post subject:
Re: Hide LISP routine from appearing in command line |
|
|
Thanks!
|
|
| Back to top |
|
 |
|
|
|
|