编程语言
首页 > 编程语言> > UG二次开发 C# 隐藏组件

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);

 

标签:DisplayableObject,objects1,C#,Assemblies,Component,NXOpen,二次开发,component1,UG
来源: https://www.cnblogs.com/lpserver1102/p/15619071.html