;; e派工具箱自定义函数
- (defun c:tt (/ Dlst ll1 ll2)
- (defun main-pro () (princ))
- (defun add ()
- (setq dd (Udist 7 "" "距离<输入或鼠标直接量取>" dd nil))
- (sub)
- )
- (defun ann ()
- (setq nn (Uint 1 "" "整数" nn))
- (sub)
- )
- (defun atx ()
- (setq tx (Ustr 1 "字符串" tx nil))
- (sub)
- )
- (defun sub ()
- (setq ll1 '(dd nn tx bo1 k1 k2 k3)
- ll2 '(100. 3 "abc" "1" "1" "0" "0")
- )
- (defun ajbcs () (xyp-MultSettile ll1 ll2))
- (xyp-initSet ll1 ll2)
- (setq Dlst '(("" "参数" ":boxed_column{")
- ("dd" "间距" "realp" "8" "" "(add)")
- ("nn" "数量" "intp" "8" "" "(ann)")
- ("tx" "文本" "strp" "8" "" "(atx)")
- "spacer"
- ("bo1" "变色" "bool")
- "spacer}"
- ("" "方式" ":boxed_radio_row{")
- ("k1" "水平" "radio")
- ("k2" "垂直" "radio")
- ("k3" "倾斜" "radio")
- "}"
- "spacer;"
- ("jbcs" "缺省参数" "button1" "(ajbcs)")
- )
- )
- (if (= (xyp-Dcl-Init Dlst "【DCL测试】" t) 1)
- (main-pro)
- )
- )
- (sub)
- (princ)
- )
|