我不知道如何选择要导出的尺寸(对不起,我的英语不好),所以我写了一个lisp来导出图形中的所有尺寸。如果这不是你需要的,只需返回其他消息,我会尽力帮助你。 
运行例程后,找到一个文件“C:\drawingname.CSV”。Auf课程“drawingname”在每种情况下都将替换为图纸的真实名称。在Excel中打开此文件并以Excel格式保存。 
干杯 
 
			
			;|  Export all dimension from a drawing    in a CSV file (Excel compatible) [email="mfuccaro@hotmail.com"]mfuccaro@hotmail.com[/email]        October 2003|;(defun c:dex        ; Dimension EXport      ( / name file ent)  (setq   name (strcat "C:/"    ; place here the desired path for the new file          (if (= (strcase           (substr (getvar "dwgname")               (- (strlen (getvar "dwgname")) 3))) ".DWG")        (substr (getvar "dwgname") 1            (- (strlen (getvar "dwgname")) 4))        (getvar "dwgname"))          ".CSV")   file (open name "w")   ent (entnext)) (while ent   (if (= (cdr (assoc 0 (entget ent))) "DIMENSION")     (write-line (rtos (cdr (assoc 42 (entget ent))) 2 4) file))   (setq ent (entnext ent))) (close file) (princ) )(princ "\nLoaded. Type DEX at the command prompt")(princ)