Lee Chu Chu Posted July 7, 2014 Posted July 7, 2014 Hello, I am trying to get a LISP reactor to work whist a function is running. So my scenario is, is that I have I have a function that draws certain things in AutoCAD. While this function is running, I want to have my reactor activated, so it sets things and when the function is cancelled, the reactor will revert everything back to the way it was before I used the function in the command line. Right now, I have the function that draws stuff and a command Reactor. Can someone point me to the right direction on how to get the reactor to activate inside the function? Quote
Tharwat Posted July 8, 2014 Posted July 8, 2014 I think the *error* function should do what you are trying to achieve as long as you want to set and reset things back to their first default settings unless you have something else in mind than what you have mentioned . Quote
Lee Chu Chu Posted July 8, 2014 Author Posted July 8, 2014 How do I use this error function in order to set settings back to the way they were before I tried executing the function? Quote
Tharwat Posted July 8, 2014 Posted July 8, 2014 What are these settings that you are talking about ? Quote
Lee Chu Chu Posted July 8, 2014 Author Posted July 8, 2014 Like setting things like the osmode and and orthomode. Quote
Tharwat Posted July 8, 2014 Posted July 8, 2014 Like setting things like the osmode and and orthomode. Search this forum for *error* and you should find many examples . 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.