标签:dss 镜像 class ssg 一个 last color poi comm
ads_name ent; ads_point pt2, pt3; if (acedSSGet(NULL, NULL, NULL, NULL, ent) != RTNORM) { return; } if (acedGetPoint(NULL, L"Pt:", pt2) != RTNORM) { return; } if (acedGetPoint(pt2, L"Pt:", pt3) != RTNORM) { return; } ads_name n1; long len = 0; acedSSLength(ent, &len); for (int i = 0; i < len; i++) { ads_name a; acedSSName(ent, i, a); acedSSAdd(a, NULL, n1); acedCommandS(RTSTR, _T("MIRROR"), RTPICKS, n1, RTSTR, _T(""), RTPOINT, pt2, RTPOINT, pt3, RTSTR, _T("N"), RTSTR, _T(""), RTNONE); acedSSFree(n1); } acedSSFree(ent);
(我这样把集合分成只有一个元素的小集合是为了用getlastEnt得到加入后的镜像实体。)
标签:dss 镜像 class ssg 一个 last color poi comm
原文地址:https://www.cnblogs.com/HelloQLQ/p/12895070.html