本帖最后由 xyp1964 于 2019-2-1 10:31 编辑
 - ;; tt(插块dcl)
- (defun c:tt ()
- (defun ak1 () (command "-insert" "块1" pause 1 1 0))
- (defun ak2 () (command "-insert" "块2" pause 1 1 0))
- (defun ak3 () (command "-insert" "块3" pause 1 1 0))
- (defun ak4 () (command "-insert" "块4" pause 1 1 0))
- (setq Dlst '(":row{"
- ("k1" "" "i6" "-15" "3" "blank" "(ak1)")
- ("t1" "块1" "textpart")
- ("k2" "" "i6" "-15" "3" "blank" "(ak2)")
- ("t2" "块2" "textpart")
- ("k3" "" "i6" "-15" "3" "blank" "(ak3)")
- ("t3" "块3" "textpart")
- ("k4" "" "i6" "-15" "3" "blank" "(ak4)")
- ("t4" "块4" "textpart")
- "}"
- )
- )
- (xyp-Dcl-Init Dlst "【插图块】" t)
- (princ)
- )
|