ARX中选择一多段线代码
来源:百度知道 编辑:UC知道 时间:2024/06/14 01:25:34
struct resbuf eb1;
char sbuf1[10];// Buffers to hold strings
ads_name ssname1, ssname2;
eb1.restype = 0; // Entity name
strcpy(sbuf1, "Polyline");
eb1.resval.rstring = sbuf1;
eb1.rbnext = NULL; // No other properties
// Retrieve all circles.
acedSSGet("X", NULL, NULL, &eb1, ssname1);