Jump to content
Lee Chu Chu

Lisp Reactor in Function

Recommended Posts

Lee Chu Chu

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?

Share this post


Link to post
Share on other sites
Tharwat

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 .

Share this post


Link to post
Share on other sites
Lee Chu Chu

How do I use this error function in order to set settings back to the way they were before I tried executing the function?

Share this post


Link to post
Share on other sites
Tharwat

What are these settings that you are talking about ?

Share this post


Link to post
Share on other sites
Lee Chu Chu

Like setting things like the osmode and and orthomode.

Share this post


Link to post
Share on other sites
Tharwat
Like setting things like the osmode and and orthomode.

Search this forum for *error* and you should find many examples .

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...