PDA

View Full Version : Reactors don't work in first loaded dwg...


dhurd
2005-01-27, 09:26 PM
I have a lisp that uses command reactors to change the layer upon entering a text or leader command. It should set the layer back to its original value after the command cancels or ends. It doesn't revert back on the first loaded drawing, but subsequently loaded drawings seem to work ok. I have (defun S::STARTUP () (vl-load-com) (vl-load-reactors)) in my acaddoc.lsp file as mentioned in the help file.