uditx 发表于 2011-11-11 22:43:05

搜索 相关条目并返回其位置

本帖最后由 uditx 于 2011-11-11 22:43 编辑

大家好,我想搜索引线的第一顶点在引线定义数据位置(如图),怎么操作呀,望各位大侠指点呀

xshrimp 发表于 2011-11-11 22:46:31

(assoc 10 (entget (entlast)))

uditx 发表于 2011-11-11 23:13:20

我是想找到它的位置不是它的内容呀

Gu_xl 发表于 2011-11-11 23:31:03

uditx 发表于 2011-11-11 23:13 static/image/common/back.gif
我是想找到它的位置不是它的内容呀

zoom

longer1000 发表于 2011-11-12 08:45:38

cabinsummer 发表于 2011-11-12 18:33:06

(setq ctr (cdr (assoc 10 (entget (entlast)))))
(command "zoom" "c" ctr "")

cabinsummer 发表于 2011-11-12 18:35:07

你可以好好研究一下我的帖子,有你需要的内容
http://bbs.mjtd.com/thread-88878-1-1.html
页: [1]
查看完整版本: 搜索 相关条目并返回其位置