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