jokry 发表于 2005-7-18 11:31:00

acedSSGet("X",NULL,NULL,&fit,sel);怎么用?

<P>struct resbuf fit;<BR>&nbsp;char name;<BR>&nbsp;&nbsp;ads_name sel;</P>
<P>&nbsp;fit.restype=0;<BR>&nbsp;strcpy(name,"BLOCK REFERENCE");<BR>&nbsp;fit.resval.rstring=name;<BR>&nbsp;fit.rbnext=NULL;<BR>&nbsp;acedSSGet("X",NULL,NULL,&amp;fit,sel);</P>
<P>我想选择图内的所有块,设置过滤器时,不知道图块该用什么名字啊?我用的是BLOCK REFERENCE ,不过不行!</P>

王咣生 发表于 2005-7-18 19:19:00

<PRE class=prog_in_0>struct resbuf eb; </PRE><PRE class=prog_in_0>char sbuf; </PRE><PRE class=prog_in_0>ads_name ssname; </PRE><PRE class=prog_in_0>eb.restype = 0;&#9;// Entity name</PRE><PRE class=prog_in_0>strcpy(sbuf, "INSERT"); </PRE><PRE class=prog_in_0>eb.resval.rstring = sbuf; </PRE><PRE class=prog_in_0>eb.rbnext = NULL; // No other properties</PRE><PRE class=prog_in_0>// Retrieve all circles.</PRE><PRE class=prog_in_0><FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>acedSSGet</FONT>("X", NULL, NULL, &amp;eb, ssname); </PRE><PRE class=prog_in_0>&nbsp;</PRE>
页: [1]
查看完整版本: acedSSGet("X",NULL,NULL,&fit,sel);怎么用?