摘要: '建立装配基准面 '建立Top Plane boolstatus = swDoc.Extension.SelectByID2("", "FACE", 0, 0, 0, True, 0, Nothing, 0) myRefPlane = CType(swDoc.FeatureManager.InsertRefPlane(8, 0, 0, 0, 0, 0), RefPlane) boolstatus = swDoc.Extension.SelectByID2("Plane1", "PLANE", 0, 阅读全文
posted @ 2014-04-07 14:33 SOLIDWORKS-API 阅读(1208) 评论(0) 推荐(0) 编辑
摘要: Dim myProcess As New Process() myProcess.StartInfo.FileName = "C:\Program Files\SolidWorks Corp\SolidWorks\SldWorks.exe" myProcess.StartInfo.CreateNoWindow = False myProcess.Start()要注意的是 代码中的 myProcess.StartInfo.CreateNoWindow = False 为程序在前台运行,如果= True的话则为后台运行! 阅读全文
posted @ 2014-04-07 14:17 SOLIDWORKS-API 阅读(1024) 评论(0) 推荐(0) 编辑