Haven't had any problems with setvar but any reactor that uses 'all-documents notification or is contained in a separate namespace vlx might not work or might operate inconsistently with setvar, since setvar works only with the activedocument. Instead (vla-setvariable can target a particular variable in a particular document). The same thing goes with getvar vs. vla-getvariable.
If all your reactors are set up locally, then the above might not be a problem. In some cases, an elock violation can possibly occur, although I haven't noticed that being a big problem. That seems to be more of a problem with (entmod) I don't believe sendcommand is a problem but its been so long since I have played with it, I can't be sure. I knew that (command... will cause a problem and make the reactor not appear to operate. Some kinds of errors don't report to the user within reactors. In general, any command that would require user interaction should definitely be avoided.
|