UG二次开发 C# 隐藏组件

1 NXOpen.DisplayableObject[] objects1 = new NXOpen.DisplayableObject[1];
2 NXOpen.Assemblies.Component component1 = (NXOpen.Assemblies.Component)NXObjectManager.Get(part_occsTag);
3 objects1[0] = component1;
4 theSession.DisplayManager.BlankObjects(objects1);
5 theSession.Parts.Work.ModelingViews.WorkView.FitAfterShowOrHide(NXOpen.View.ShowOrHideType.HideOnly);

 

上一篇:Angular中父组件获取子组件的数据、方法by @ViewChild


下一篇:[小技巧] Python 脚本暴力破解 HC2600 机顶盒管理密码