高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】对象选择问题
对象选择问题
对象选择问题
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 ,明明是多段线都被滤出,选不到
试试 lwpolyline 看看。。
|