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