text 加扩展字典后无法读取?
<p> xdat1 = ads_buildlist(62,255,<br/> -3, <br/> 1001, "my_tag", <br/> 1000, "BARTEXT",<br/> 1000, strbarcode,<br/> 0);</p><p></p><p>这样加的,成功了,并且查dxf代码有自己的工具查出来的结果</p><p>(71 . 0)<br/>(72 . 0)<br/>(11 0.0000 0.0000 0.0000)<br/>(210 . 0)<br/>(100 . "AcDbText")<br/>(73 . 0)<br/>(1001 . "my_tag")<br/>(1000 . "BARTEXT")<br/>(1000 . "STAPART-EJ-2.A")</p><p>但,struct resbuf *eb1 =ads_buildlist(1001,"my_tag",1000,"BARTEXT",0);</p><p>ads_ssget(NULL, NULL, NULL, eb1, ssname); 怎么都找不出来,奇怪了,别的都可以找出来,就TEXT找不出来</p> 帮忙呀 开发文档里的说明:<br/>Filtering for Extended Entity Data: You can filter for extended entity data that belongs to a particularapplication or set of applications by specifying the -3 group code in filter. Separate multiple application names by commas.<p>在DXF组码里面 -3 为 kDxfXDataStart,要过滤扩展数据 extended data(XData),必须以-3 开始,后面是 app name,1000~2000之间的dxf组码是不能识别的,只能根据app name 来过滤:<br/></p><pre class="prog_in_0">(ssget "X" '((0 . "CIRCLE") (-3 ("APP")))) 过滤一个 app name</pre><pre class="prog_in_end_0">(ssget "X" '((0 . "CIRCLE") (-3 ("APP1,APP2")))) 过滤两个 app name 用逗号分隔<br/><br/>在文档里面搜索 Filtering for extended data,以及acedSSGet,里面有跟详细的说明。<br/></pre> 请教一下,这种写法是不是很笨呀,通常是怎么写的
页:
[1]