Reactor doesn't stick around

kemp

Usenet Archive
Joined
Dec 18, 2003
Messages
142
Reaction score
0
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 said:
How do I make my reactor remember to react after closing and reopening a drawing?

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
 
It works!

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

kemp
 
great,

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

kemp said:
It works!

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

kemp

Luis Esquivel said:
You need to load the function callbacks [drawing sessions] in order to recreate your reactors.

Also take a look at my sample template, hth.
 

Latest threads

Back
Top