;;配合expresstools
;;By 龙龙仔(LUCAS)
;;这程序包括HIGHLIGHT及拖动技巧
(arxload "ACETUTIL.ARX" NIL)
(defun C:TT (/ HOLDGRIPS SS PT PT1)
(setq SS (ssget))
(setq HOLDGRIPS (getvar "grips"))
(setvar "grips" 0)
(sssetfirst NIL SS)
(setq PT (getpoint "\n指定基准点: "))
(if PT
(setq PT1 (acet-ss-drag-move
SS
PT
"指定位移的第二点: "
NIL
)
)
)
(sssetfirst NIL)
(setvar "grips" HOLDGRIPS)
(if PT1
(command "_.copy" SS "" PT PT1)
)
(princ)
) |