为啥中望3D2027 零件环境调用该方法零件不会变色,但用注释掉的ZwEntityColorSet API 可以,2025和2026没这问题 谢谢!

名片

jd

lv0

需求:

BUG:

已完成:

进行中:

BUG 热度

  • 需求ID:暂无
  • 需求状态: 进行中 已完成
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; }
0 条评论 A文章作者 M管理员
    暂无讨论,说说你的看法吧
购物车
优惠劵
今日签到
有新私信 私信列表
搜索
复制链接
微信扫码
已复制到剪贴板