随笔分类 -  VB.NET

摘要:Function SelectByID2( _ ByVal Name As System.String, _ ByVal Type As System.String, _ ByVal X As System.Double, _ ByVal Y As System.Double, _ ... 阅读全文
posted @ 2015-03-26 14:43 SOLIDWORKS-API 阅读(1558) 评论(0) 推荐(0) 编辑
摘要:1 'SolidWorks API Help 2 'Move Bodies Example (VB.NET) 3 'This example shows how to move all of the bodies in a part document. 4 5 '----------------... 阅读全文
posted @ 2015-03-17 18:55 SOLIDWORKS-API 阅读(1188) 评论(0) 推荐(0) 编辑
摘要:1 Imports SolidWorks.Interop.sldworks 2 Imports SolidWorks.Interop.swconst 3 Imports System.Runtime.InteropServices 4 Imports System 5 6 Partial Cla... 阅读全文
posted @ 2015-03-17 10:18 SOLIDWORKS-API 阅读(1178) 评论(0) 推荐(0) 编辑
摘要:1 Imports SolidWorks.Interop.sldworks 2 Imports SolidWorks.Interop.swconst 3 Imports System.Runtime.InteropServices 4 Imports System 5 6 Partial Cla... 阅读全文
posted @ 2015-03-17 09:59 SOLIDWORKS-API 阅读(1295) 评论(0) 推荐(0) 编辑
摘要:1 SolidWorks API Help 2 Create PropertyManager Page Example (VB.NET) 3 This example shows how to create a PropertyManager page that contains two s... 阅读全文
posted @ 2014-05-12 20:12 SOLIDWORKS-API 阅读(1085) 评论(0) 推荐(0) 编辑
摘要:相信大家经常会把solidworks api帮助中的代码直接贴出来直接使用,今天遇到段代码就无法使用。现分享一下经验: _Public Class clsPropMgr上面的代码就会报错:”特性说明符不是一个完整的语句。请使用行继续符将该特性应用于下列语句。“怎么解决呢?其实很简单!解决方法1:两行... 阅读全文
posted @ 2014-05-12 20:08 SOLIDWORKS-API 阅读(758) 评论(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 阅读(1050) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示