王咣生 发表于 2005-6-8 17:56:00

对扩展数据作选择集?

用VBA对这样的扩展数据怎么作选择集??


Select object: ((-1 . &lt;Entity name: 7ef57cb8&gt;) (0 . "LINE") (330 . &lt;Entity <BR>name: 7ef55cb8&gt;) (5 . "297") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . <BR>"SXSS") (6 . "Continuous") (100 . "AcDbLine") (39 . 6.4606e+006) (10 66.5765 <BR>-59.6847 0.0) (11 67.3565 -53.7357 0.0) (210 0.0 0.0 1.0) <FONT color=#0000ff>(-3 ("DVXDATA" (1070 <BR>. 0) (1000 . "295")))</FONT>)

雪山飞狐_lzh 发表于 2005-6-8 20:14:00

ft(0) = 1001: fd(0) = "<FONT color=#0000ff>DVXDATA</FONT>"<BR>

王咣生 发表于 2005-6-8 21:49:00

reply

对<FONT color=#0000ff>295能作为过滤条件吗?</FONT>

雪山飞狐_lzh 发表于 2005-6-8 22:30:00

对于XData只能对1001码作为过滤条件,其他的不行

王咣生 发表于 2005-6-8 23:47:00

回复

谢谢lzh741206.<BR>我在arx的帮助中也找到了这个结论:


You can retrieve extended data for a particular application by specifying its name in a filter list, using the <FONT style="BACKGROUND-COLOR: #0a246a" color=#ffffff>-3</FONT> group code. The acedSSGet() function returns entities with extended data registered to the specified name; acedSSGet() <FONT color=#0000ff>does not retrieve</FONT> individual extended data items (with group codes in the range 1000–2000).

今晚打老虎 发表于 2005-6-9 09:37:00

有没有具体的例子让大家也学学。
页: [1]
查看完整版本: 对扩展数据作选择集?