摘要:
;;;岛的判断(defun getisland (/ en mplaer ss ss_len ii en key obj area ptext een area0 pt0 ) (vl-load-com) (setq en (car (entsel))) (setq layer (assoc 8 (entget en))) (setq key (emt_eedvalue en "landuse" "id3")) (setq obj (vlax-ename->vla-object en)) ... 阅读全文
摘要:
;;;保存为DXF文件(defun c:save_dxf (/) (setq filepath (strcat (getvar "dwgprefix") "转换" (substr (getvar "dwgname") 1 (- (strlen (getvar "dwgname")) 4) ) ".dxf" ) ) (command "save" filepath "16" "") (princ) (pri... 阅读全文