首页 > TAG信息列表 > PropList

【NX二次开发】获取、设置控件值时,注意释放内存

  int iEnumType = this->enumType->SetShow(true); int iEnumType = this->enumType->GetProperties()->SetLogical("Show",true); 一种是8.5以上才能用的,一种是通用 第二种写法,有问题,可以用,但是没有释放内存,下面是正确用法 PropertyList *propList = this->enumType->GetPro