Jump to content

Recommended Posts

Posted

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?

Posted

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 .

Posted

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

Posted

Like setting things like the osmode and and orthomode.

Posted
Like setting things like the osmode and and orthomode.

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

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...