restore to nil ?

Discussion in 'AutoCAD' started by perry, Jun 1, 2004.

  1. perry

    perry Guest

    How the heck do you do that?
    Anyway, thats the message I am seeing quite a lot of these days. I believe
    the reason for it is an application I used to use attached persistant
    object reactors to some blocks.
    I have since become a VB nut and converted that app to VB, now using events
    rather than reactors (whew!) So I believe that those annoying
    messages are coming from the "old" blocks/reactors that no longer have the
    corresponding reactor "handlers".
    My first thought was to just create the following simple function...
    (DEFUN remove_reactors ()
    (VL-LOAD-COM)
    (setq temp (vlr-remove-all))
    (princ "\nRemoving Reactors")
    (princ temp)
    (dictremove (namedobjdict) "VL-REACTORS")
    )
    and then just execute it during my startup routines to "purge" all the
    reactor stuff. It doesnt seem to do the trick though, Im still getting
    those pesky messages.
    Can someone clue me in on what I've missed here?
    Thanks
     
    perry, Jun 1, 2004
    #1
  2. perry

    Doug Broad Guest

    Perry,
    Use the vlr-pers-release function.
     
    Doug Broad, Jun 1, 2004
    #2
  3. perry

    perry Guest

    You know, I really hate it when I forget things like that ;)
    Thanks Doug
     
    perry, Jun 1, 2004
    #3
  4. perry

    Doug Broad Guest

    You're welcome.
     
    Doug Broad, Jun 1, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.