vlr-wblock-reactor


(vlr-wblock-reactor customData callbackList)

This function creates and Wblock a Insert 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-wblockNotice

wblock operation is about to start


:VLR-beginWblock

wblock operation of the entire database is about to start


:VLR-beginWblockPt

wblock operation of an entity set is about to start


:VLR-beginWblockId

wblock operation of a BlockTableRecord is about to start


:VLR-otherWblock

wblock operation is about to start


:VLR-beginWblockObjects

wblock operation starts intermediate stage of ObjectId translation


:VLR-endWblock

wblock operation has been finished


:VLR-abortWblock

wblock operation has been aborted


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

reactor : the wblock reactor object - #<VLR-Wblock-Reactor>
args : (list) contains 1 or more arguments depending on the particular event :


:VLR-wblockNotice

1 argument : source database (VLA-Object)


:VLR-endWblock
:VLR-abortWblock

1 argument : target database (VLA-Object)


:VLR-beginWblock
:VLR-otherWblock

2 arguments
1st argument : target database (VLA-Object)
2nd argument : source database (VLA-Object)


:VLR-beginWblockObjects

2 arguments
1st argument : source database (VLA-Object)
2nd argument : IDMapping for the objects being cloned


:VLR-beginWblockPt

3 arguments
1st argument : target database (VLA-Object)
2nd argument : source database (VLA-Object)
3rd argument : 3D WCS point list (base point in target database)


:VLR-beginWblockId

3 arguments
1st argument : target database (VLA-Object)
2nd argument : source database (VLA-Object)
3rd argument : ObjectId of the BlockTableRecord

Return

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

Example


Remarks




©  Bricsys NV. All rights reserved.