UG NX二次开发源码分享: 删除指定属性
UG NX二次开发源码分享: 删除指定属性extern "C" DllExport void ufusr(char *param, int *retcod, int param_len)
{
Session *theSession = Session::GetSession();
Part *displayPart(theSession->Parts()->Display());
displayPart->DeleteUserAttribute(NXOpen::NXObject::AttributeType::AttributeTypeAny,"ENTER_YOUR_ATTR_TITLE_HERE",TRUE,NXOpen::Update::Option::OptionNow);
}
谢谢分享
页:
[1]