01 2022 档案

摘要:C# 1 NXOpen.Session.GetSession().ListingWindow.Open(); 2 UFAttr.Iterator iter = new UFAttr.Iterator(); 3 iter.category = ""; 4 iter.check_category = f 阅读全文
posted @ 2022-01-19 15:04 刘朋1102 阅读(373) 评论(0) 推荐(0)
摘要:1 NXOpen.Body body; 2 if (body.HasUserAttribute("attrName", NXObject.AttributeType.String, -1)) 3 { 4 //属性存在 5 } 6 else 7 { 8 //属性不存在 9 } 阅读全文
posted @ 2022-01-11 09:36 刘朋1102 阅读(309) 评论(0) 推荐(0)