屬性文字
請問各位老師 圖上紅色的框裡的文字如何用lisp抓取 感謝论坛搜文字刷代码,里面有你要的 ;;nentsel,交互的话可以用一下,用处不多
(defun C:SUB ( / ent)
(if (setq ent (nentsel "\n选择属性块属性文字: "))
(cdr (assoc 1 (entget (car ent))))
(princ "\n未选中!")
)
) nentsel?????? satan421 发表于 2019-8-2 14:28
;;nentsel,交互的话可以用一下,用处不多
(defun C:SUB ( / ent)
(if (setq ent (nentsel "\n选择属 ...
感謝 很需要 簡短的方式講解 netsel,可以选取土块中图元的ename ,用entget取得图元的DXF定义,也就是你想要的图块属性值 学习了,挺好
页:
[1]