vlr-depclone-reactor


(vlr-deepclone-reactor customData callbackList)

This function creates and attaches a DeepClone 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-beginDeepClone

a deepclone operation (inside same database) is about to start


:vlr-endDeepClone

a deepclone operation has ended


:vlr-abortDeepClone

a deepclone operation has been aborted


:vlr-beginDeepCloneXlation

after plain object cloning, any object is being translated for the target database;
this event indicates the start of the translation stage


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

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


:vlr-beginDeepClone
:vlr-endDeepClone
:vlr-abortDeepClone

0 arguments


:vlr-beginDeepCloneXlation

1 argument (integer)
represents the error status of first cloning stage

Return

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

Example


Remarks




©  Bricsys NV. All rights reserved.