vlr-miscellaneous-reactor


(vlr-miscellaneous-reactor customData callbackList)

This function creates and attaches a Miscellaneous operation reactor to the current drawing, for the command events specified by callbackList.

Arguments

customData  (any valid Lisp data) custom data to be associated with the reactor object, can be NIL
callbackList  (list)  list of DottedPair entries, each DottedPair has the form
(event . callback)

event : one of these symbolic constants


:vlr-pickfirstModified

the PickFirst SelectionSet has changed


:vlr-layoutSwitched

the active layout has changed


callback : the client Lisp side callback function, using 2 arguments :
(defun MyCB ( reactor args / ...) ...)

reactor : the miscellaneous reactor object - #<VLR-Miscellaneous-Reactor>
args : (list) contains 0...1 arguments, depending on the particular event :


:vlr-pickfirstModified

0 arguments


:vlr-layoutSwitched

1 argument : (string)
the name of the new current layout

Return

the reactor object #<VLR-Miscellaneous-Reactor> or NIL

Example


Remarks




©  Bricsys NV. All rights reserved.