你根据楼顶的数据画一个成型的图上来看看吧...给你一个简单的程序过程结构: - (defun c:test()
 -    (setq f (open "xxx.txt" "r"))
 -    (while (setq str (read-line f))
 -        (cond
 -            ((or (= str "进口") (= str "分隔带") (= str "出口"))
 -              (setq draw_now str)
 -            )
 -            (T (cond
 -        ((= draw_now "进口")
 -          (setq width (read str));进口宽度
 -          ...;放置块属性等工作
 -        )
 -        ((= draw_now "分隔带")
 -          (setq width (read str));分隔带宽度
 -          ...;放置块属性等工作
 -        )
 -        ((= draw_now "出口")
 -          (setq width (read str));出口宽度
 -          ...;放置块属性等工作
 -        )
 -    );cond2
 -            );T
 -        );cond1
 -    );while
 -    (close f)
 -    (princ)
 - )
 
  |