static int Clear_colorSub()
{
szwColor color = { 190, 230, 245 };//默认颜色
szwEntityHandle handle{};
int rs = ZwEntityActiveGet(&handle);
if (rs != 0) return rs;
rs = ZwEntityColorRgbSet(color, 1, &handle); //为零件改色
//rs = ZwEntityColorSet((ezwColor)cvxColorNear(&color), 1, &handle);
return rs;
}
暂无讨论,说说你的看法吧







