reactor help!

deger

Usenet Archive
Joined
Jul 7, 2003
Messages
5
Reaction score
0
who can help me!
I want design a reactor which is linked with the attrib of block. the block will changed when his attrib is modified by DDATTE or ATTedit.
how will i do?

Thanks
deger
 
deger said:
who can help me!
I want design a reactor which is linked with the attrib of block. the block will changed when his attrib is modified by DDATTE or ATTedit.
how will i do?

You'll need two different reactors: an object reactor to control modification of the ATTRIB entity, and an editor reactor to control the commands.

The object reactor should fire only when the ATTRIB entity has been modified. The reaction function will simply add the ATTRIB's entity name to a list in a global variable.

The editor reactor makes use of two reaction functions. One will be fired upon begincommand, it will simply set the global variable to NIL. The second will be fired upon commandended, and it looks for the command name which just has ended. In case that it one of your controled commands the function will look for the global variable and modify all blocks of the modified ATTRIB entities.

Tom Berger
 

Latest threads

Back
Top