- (defun blkstarted (reac data)
-
- (if (wcmatch (car data) "INSERT")
- (progn
- (alert "INSERT"))
- )
- (princ)
- )
- (defun blkended (reac data)
-
- (if (wcmatch (car data) "INSERT")
- (progn
- (alert "hh INSERT"))
- )
- (princ)
- )
- (vlr-command-reactor
- "My Reactor"
- '((:VLR-commandWillStart . blkstarted)
- (:VLR-commandEnded . blkended)
- )
- )
试一试用命令反应器看看能不能操作
|