- 积分
- 66549
- 明经币
- 个
- 注册时间
- 2010-5-9
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
;;功能:获得特定符号表的列表。
;;参数:name为符号名。有效符号表名称为Layer,Ltype,Viewx,Style,Block,Appid,Ucs,Dimstyle和Vport。
(defun get-tblnext1 (table-name / D LST)
(while (setq d (tblnext table-name (null d)))
(setq lst (cons (cdr (assoc 2 d)) lst))
)
(reverse lst)
)
;;示例(get-tblnext2 "layer")
(defun get-tblnext2 (table-name / D LST)
(while (setq d (tblnext table-name (null d)))
(setq lst (append lst (list (cdr (assoc 2 d)))))
)
) |
|