几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】acedssget("x",null,null,&fit,sel);怎么用? (http://www.dimcax.com/hust/showthread.php?t=6080)

yang686526 2009-04-14 02:59 PM

【转帖】acedssget("x",null,null,&fit,sel);怎么用?
 
acedssget("x",null,null,&fit,sel);怎么用?
acedssget("x",null,null,&fit,sel);怎么用?
struct resbuf fit;
char name[20];
ads_name sel;
fit.restype=0;
strcpy(name,"block reference");
fit.resval.rstring=name;
fit.rbnext=null;
acedssget("x",null,null,&fit,sel);
我想选择图内的所有块,设置过滤器时,不知道图块该用什么名字啊?我用的是block reference ,不过不行!
struct resbuf eb;
char sbuf[10];
ads_name ssname;
eb.restype = 0;// entity name
strcpy(sbuf, "insert");
eb.resval.rstring = sbuf;
eb.rbnext = null; // no other properties
// retrieve all circles.
acedssget("x", null, null, &eb, ssname);

change your life style.


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