几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(C++) (http://www.dimcax.com/hust/forumdisplay.php?f=34)
-   -   【转帖】对象选择问题 (http://www.dimcax.com/hust/showthread.php?t=7506)

yang686526 2009-04-17 10:35 PM

【转帖】对象选择问题
 
对象选择问题
对象选择问题
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 看看。。


所有的时间均为北京时间。 现在的时间是 03:45 AM.