Hide LISP routine from appearing in command line
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Hide LISP routine from appearing in command line

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization
Author Message
mgrigoriev
Guest





Posted: Tue Apr 05, 2005 8:48 pm    Post subject: Hide LISP routine from appearing in command line Reply with quote

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 Reply with quote

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 Reply with quote

Thanks!

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB