senior1210 发表于 2008-7-23 16:57:00

对象选择问题

<p>&nbsp;BeginEditorCommand();</p><p>&nbsp;struct resbuf eb1, eb2, eb3; <br/>&nbsp;char sbuf1, sbuf2; // Buffers to hold strings<br/>&nbsp;ads_name ssname1, ssname2; <br/>&nbsp;<br/>&nbsp;eb1.restype = 0;&nbsp;// Entity name<br/>&nbsp;strcpy(sbuf1, "CIRCLE"); <br/>&nbsp;eb1.resval.rstring = sbuf1; <br/>&nbsp;eb1.rbnext = NULL; // No other properties</p><p><br/>&nbsp;ads_name ss;<br/>&nbsp;if (acedSSGet(NULL,NULL,NULL,&amp;eb1,ss)==RTNORM)<br/>&nbsp;{<br/>&nbsp;&nbsp;CompleteEditorCommand();<br/>&nbsp;&nbsp;<br/>&nbsp;} <br/>&nbsp;else<br/>&nbsp;{<br/>&nbsp;&nbsp;CancelEditorCommand();<br/>&nbsp;}</p><p>以上是只选择圆的,那选择多段线怎么设置参数?</p><p>试了POLYLINE和PLINE ,明明是多段线都被滤出,选不到</p>

nogirlfriend 发表于 2008-7-29 17:05:00

<p>试试 lwPOLYLINE 看看。。</p>
页: [1]
查看完整版本: 对象选择问题