帮忙写个CADLISP程序好吗,可以写了把LISP文件发到我的邮箱里好吗?zhj1991125@sina.com 谢谢
我这里有一个转为多段线的LISP。直接输入命令J,源码芯宝源码框选任何图形,天正d天hotspot源码锁mutex只要是源码剑仙情缘源码闭合的线都能成为多段线。
别忘了给分哈。天正d天引流版权生成源码
源码在ubuntu安装源码;;; Join a few lines or arcs to one union
源码在ubuntu安装源码(defun C:j (/ ent_nam e1typ num sset1 sset1_num)
源码在ubuntu安装源码(setq SSET1 (ssget))
源码在ubuntu安装源码(setq SSET1_num (sslength SSET1))
源码在ubuntu安装源码(setq num 0)
源码在ubuntu安装源码(while (< num SSET1_num)
源码在ubuntu安装源码(setq ent_nam (ssname SSET1 num))
源码在ubuntu安装源码(setq e1dxf (entget ent_nam)
源码在ubuntu安装源码e1typ (cdr (assoc 0 e1dxf))
源码在ubuntu安装源码)
源码在ubuntu安装源码(if (= "POLYLINE" e1typ)
源码在ubuntu安装源码(command "PEDIT" ent_nam "J" SSET1 "" "X")
源码在ubuntu安装源码)
源码在ubuntu安装源码(if (or (= e1typ "ARC")(= e1typ "LINE"))
源码在ubuntu安装源码(command "PEDIT" ent_nam "Y" "J" SSET1 "" "X"))
源码在ubuntu安装源码(setq num (1+ num))
源码在ubuntu安装源码)
源码在ubuntu安装源码(princ)
源码在ubuntu安装源码) ;end aj.lsp
源码在ubuntu安装源码2024-11-30 20:37
2024-11-30 19:59
2024-11-30 19:56
2024-11-30 19:53
2024-11-30 19:46