A concern of mine is the bad reputation reactors have according to some
who've posted here. I certainly don't want to open some pandora's box.
But here is a snippet I've created by modifying some existing code I found
online. By the way, the drawings I'm creating this for contain nothing but
polylines, therefore the simplicity. Do you see any problems?
(defun cmdEND (reactor command_l)
(if (or
(member "PLINE" command_l)
(member "COPY" command_l)
(member "ERASE" command_l)
)
(alert "\n A polyline was drawn, copied, or erased.")
)
)
(defun c:reactorPline ()
(vl-load-com)
(vlr-editor-reactor nil '((:vlr-commandEnded . cmdEND)))
)
(c:reactorPline)
--
To email reply, eradicate all threes in my SPAM guarded address.
"Fatfreek" wrote in message
news:5434699@discussion.autodesk.com...
I have never created a reactor function.
I would like tips to help me create a reactor function that notifies me (say
an alert message) if any of the following events happen:
a polyline (heavy or light) is created, is deleted, or is copied.
Len
--
To email reply, eradicate all threes in my SPAM guarded address.