本帖最后由 jh1005 于 2011-6-20 21:24 编辑
回复 raoc5 的帖子
 - (defun c:tt(/ b c e )
- (setq b (ssget))
- (setq e (entlast))
- (setvar "PEDITACCEPT" 1)
- (command "pedit" "m" b "" "j" 10 "")
- (setq c (lt:ss-entnext e))
- (command "move" c "" (list 0 0) (list 300 300) )
- (princ)
- )
|