 - (defun C:swed(/ ss ssgetpy)
- (defun ssgetpy(ssall entpy)
- (sssetfirst nil ssall)
- ;(vl-cmdf "SELECT" ssall "")
- (ssget "P" (list (cons 1 entpy)))
- )
- (if (setq ss (ssget '((0 . "*TEXT") (1 . "A*,B*,C*,D*") (7 . "宋 宽0.7 高3,宋 宽0.75 高3"))))
- (progn
- (setq
- alst (ssgetpy ss "A*")
- blst (ssgetpy ss "B*")
- clst (ssgetpy ss "C*")
- dlst (ssgetpy ss "D*")
- )
- )
- )
- )
这个程序中ssgetpy函数只有效一次,不知道是啥原因! |