public static void SetLayerName(int layerNum, string layerName)
{
Session theSession = Session.GetSession();
Part workPart = theSession.Parts.Work;
Category category = workPart.LayerCategories.CreateCategory(layerName, "", new int[0]);
category.SetMemberLayers(new int[] { layerNum });
}
NXOPEN/UG二次开发C#---设置图层分类名称
最新推荐文章于 2023-04-04 21:45:00 发布
关键词由CSDN通过智能技术生成