Reactor doesn't stick around

Discussion in 'AutoCAD' started by kemp, Jan 13, 2004.

  1. kemp

    kemp Guest

    Hey everyone.

    I did finally get my reactor to work! Now I have a question that likey has a
    simple answer:

    How do I make my reactor remember to react after closing and reopening a
    drawing?

    As it stands it works only in the current drawing session, and won't in a
    new session until I run the command that calls the reactor again.

    Anybody know the secret? maybe vlr-pers isn't what I'm looking for?
    I've tried this format:

    (setq lineReactor
    (vlr-pers
    (vlr-object-reactor
    (list en1 en2 en3)
    "Detail Cut" '(:)vlr-modified . adjustDB)))))

    and this format:

    (setq lineReactor
    (vlr-object-reactor
    (list en1 en2 en3)
    "Detail Cut" '(:)vlr-modified . adjustDB))))
    (vlr-pers lineReactor)

    Thanks for the help!

    kemp
     
    kemp, Jan 13, 2004
    #1
  2. kemp

    Tom Berger Guest

    Autoload the application, and on loading perform an initializing
    routine for your reactor. I prefer to have XDATA attached to the
    objects which need to be reinstalled as owners of an object reactor.

    I hate persitent reactors, and I don't trust them :)

    Tom Berger
     
    Tom Berger, Jan 13, 2004
    #2
  3. kemp

    kemp Guest

    It works!

    Thanks Luis, no thanks to outlook express for disabling my ability to
    download the attachment! :p

    kemp
     
    kemp, Jan 13, 2004
    #3
  4. great,

    if you want i can pasted over here, let me know.


     
    Luis Esquivel, Jan 13, 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.