vlr-reaction-set (AutoLISP)

Adds or replaces a callback function in a reactor

(vlr-reaction-set reactor event function)

Arguments

reactor

A VLR object.

event

A symbol denoting one of the event types available for this reactor type.

function

A symbol representing the AutoLISP function to be added or replaced.

Return Values

Unspecified.

Examples

The following command changes the circleReactor reactor to call the print-area function when an object is modified:

(vlr-reaction-set circleReactor :vlr-modified 'print-area)
PRINT-AREA