A predefined callback function that prints one or more callback arguments in the Trace window
(vlr-trace-reaction)
This function can be used as a debugging tool to verify that a reactor has fired.
Examples
vlr-trace-reaction as the callback function:
Define a command reactor and assign_$ (VLR-Reaction-Set (VLR-Command-Reactor) :VLR-commandWillStart 'VLR-trace-reaction)
VLR-trace-reaction
At the AutoCAD Command prompt, enter the following:
_.LINE
Respond to the command prompts, then activate the VLISP window and open the Trace window. You should see the following in the Trace window:
; "Reaction": :VLR-commandWillStart; "argument list": (#<VLR-COMMAND-REACTOR> ("LINE"))
vlr-trace-reaction identifies the type of trigger event, the reactor type, and the command that triggered the reactor.
The output from