摘要: using System; using NXOpen; public class NXJournal { [System.Runtime.InteropServices.DllImport("user32.DLL", EntryPoint = "SetWindowText")] public static extern int SetWindowText(IntPtr h, s... 阅读全文
posted @ 2018-06-25 22:08 巫居树 阅读(1829) 评论(0) 推荐(0) 编辑
摘要: //获取实体的所有面,测量两个面角度,获取面的相邻面 int face_1 = 1; int face_2 = 5; TaggedObject body; Point3d point; theUI.SelectionManager.SelectTag... 阅读全文
posted @ 2018-06-25 22:07 巫居树 阅读(1016) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using NXOpen; 3 using NXOpen.UF; 4 using System.Windows.Forms; 5 6 public class NXJournal 7 { 8 public static void Main(string[] args) 9 { 10 NXOpen.Session the... 阅读全文
posted @ 2018-06-25 22:05 巫居树 阅读(1817) 评论(0) 推荐(0) 编辑